1. 11 Apr, 2015 1 commit
    • Rich Salz's avatar
      free NULL cleanup 10 · 62adbcee
      Rich Salz authored
      
      
      Avoid checking for NULL before calling free functions.  This gets
      ssl.*free:
          ssl_sess_cert_free ssl_free ssl_excert_free ssl_cert_free
          SSL_free SSL_SRP_CTX_free SSL_SESSION_free SSL_CTX_free
          SSL_CTX_SRP_CTX_free SSL_CONF_CTX_free
      
      Reviewed-by: default avatarKurt Roeckx <kurt@openssl.org>
      62adbcee
  2. 10 Apr, 2015 8 commits
  3. 08 Apr, 2015 4 commits
  4. 04 Apr, 2015 3 commits
    • Richard Levitte's avatar
      Appease clang -Wshadow · 2da2a434
      Richard Levitte authored
      
      
      The macros BSWAP4 and BSWAP8 have statetemnt expressions
      implementations that use local variable names that shadow variables
      outside the macro call, generating warnings like this
      
      e_aes_cbc_hmac_sha1.c:263:14: warning: declaration shadows a local variable
            [-Wshadow]
          seqnum = BSWAP8(blocks[0].q[0]);
                   ^
      ../modes/modes_lcl.h:41:29: note: expanded from macro 'BSWAP8'
                                  ^
      e_aes_cbc_hmac_sha1.c:223:12: note: previous declaration is here
          size_t ret = 0;
                 ^
      
      Have clang be quiet by modifying the macro variable names slightly
      (suffixing them with an underscore).
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      2da2a434
    • Richard Levitte's avatar
      Appease clang -Wgnu-statement-expression · 04958e84
      Richard Levitte authored
      
      
      We use GNU statement expressions in crypto/md32_common.h, surrounded
      by checks that GNU C is indeed used to compile.  It seems that clang,
      at least on Linux, pretends to be GNU C, therefore finds the statement
      expressions and then warns about them.
      
      The solution is to have clang be quiet about it.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      04958e84
    • Richard Levitte's avatar
      Appease clang -Wempty-translation-unit · c25dea53
      Richard Levitte authored
      
      
      ebcdic.c:284:7: warning: ISO C requires a translation unit to contain at least one
            declaration [-Wempty-translation-unit]
            ^
      1 warning generated.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      c25dea53
  5. 03 Apr, 2015 7 commits
  6. 02 Apr, 2015 6 commits
  7. 01 Apr, 2015 1 commit
  8. 31 Mar, 2015 10 commits