1. 05 5月, 2015 1 次提交
    • R
      Use safer sizeof variant in malloc · b4faea50
      Rich Salz 提交于
      For a local variable:
              TYPE *p;
      Allocations like this are "risky":
              p = OPENSSL_malloc(sizeof(TYPE));
      if the type of p changes, and the malloc call isn't updated, you
      could get memory corruption.  Instead do this:
              p = OPENSSL_malloc(sizeof(*p));
      Also fixed a few memset() calls that I noticed while doing this.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b4faea50
  2. 04 5月, 2015 1 次提交
  3. 03 5月, 2015 1 次提交
  4. 02 5月, 2015 4 次提交
  5. 01 5月, 2015 2 次提交
  6. 30 4月, 2015 1 次提交
    • R
      free NULL cleanup 8 · 2ace7450
      Rich Salz 提交于
      Do not check for NULL before calling a free routine.  This addresses:
          ASN1_BIT_STRING_free ASN1_GENERALIZEDTIME_free ASN1_INTEGER_free
          ASN1_OBJECT_free ASN1_OCTET_STRING_free ASN1_PCTX_free ASN1_SCTX_free
          ASN1_STRING_clear_free ASN1_STRING_free ASN1_TYPE_free
          ASN1_UTCTIME_free M_ASN1_free_of
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      2ace7450
  7. 29 4月, 2015 1 次提交
  8. 12 4月, 2015 1 次提交
  9. 01 4月, 2015 2 次提交
  10. 28 3月, 2015 2 次提交
  11. 25 3月, 2015 5 次提交
  12. 24 3月, 2015 2 次提交
  13. 23 3月, 2015 1 次提交
  14. 16 3月, 2015 1 次提交
  15. 12 3月, 2015 1 次提交
  16. 11 3月, 2015 1 次提交
  17. 02 3月, 2015 1 次提交
  18. 25 2月, 2015 2 次提交
  19. 09 2月, 2015 2 次提交
  20. 06 2月, 2015 2 次提交
  21. 28 1月, 2015 2 次提交
    • R
      "#if 0" removal: header files · 1a5adcfb
      Rich Salz 提交于
      Remove all "#if 0" blocks from header files.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      1a5adcfb
    • R
      OPENSSL_NO_xxx cleanup: SHA · 474e469b
      Rich Salz 提交于
      Remove support for SHA0 and DSS0 (they were broken), and remove
      the ability to attempt to build without SHA (it didn't work).
      For simplicity, remove the option of not building various SHA algorithms;
      you could argue that SHA_224/256/384/512 should be kept, since they're
      like crypto algorithms, but I decided to go the other way.
      So these options are gone:
      	GENUINE_DSA         OPENSSL_NO_SHA0
      	OPENSSL_NO_SHA      OPENSSL_NO_SHA1
      	OPENSSL_NO_SHA224   OPENSSL_NO_SHA256
      	OPENSSL_NO_SHA384   OPENSSL_NO_SHA512
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      474e469b
  22. 27 1月, 2015 2 次提交
    • R
      OPENSSL_NO_xxx cleanup: RFC3779 · c73ad690
      Rich Salz 提交于
      Remove OPENSSL_NO_RFCF3779.
      
      Also, makevms.com was ignored by some of the other cleanups, so
      I caught it up.  Sorry I ignored you, poor little VMS...
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      c73ad690
    • R
      OPENSSL_NO_xxx cleanup: many removals · a00ae6c4
      Rich Salz 提交于
      The following compile options (#ifdef's) are removed:
          OPENSSL_NO_BIO OPENSSL_NO_BUFFER OPENSSL_NO_CHAIN_VERIFY
          OPENSSL_NO_EVP OPENSSL_NO_FIPS_ERR OPENSSL_NO_HASH_COMP
          OPENSSL_NO_LHASH OPENSSL_NO_OBJECT OPENSSL_NO_SPEED OPENSSL_NO_STACK
          OPENSSL_NO_X509 OPENSSL_NO_X509_VERIFY
      
      This diff is big because of updating the indents on preprocessor lines.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      a00ae6c4
  23. 22 1月, 2015 2 次提交