1. 08 1月, 2016 2 次提交
    • V
      Backwards-compatibility subject to OPENSSL_API_COMPAT · 98186eb4
      Viktor Dukhovni 提交于
      Provide backwards-compatiblity for functions, macros and include
      files if OPENSSL_API_COMPAT is either not defined or defined less
      than the version number of the release in which the feature was
      deprecated.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      98186eb4
    • R
      mem functions cleanup · bbd86bf5
      Rich Salz 提交于
      Only two macros CRYPTO_MDEBUG and CRYPTO_MDEBUG_ABORT to control this.
      If CRYPTO_MDEBUG is not set, #ifdef out the whole debug machinery.
              (Thanks to Jakob Bohm for the suggestion!)
      Make the "change wrapper functions" be the only paradigm.
      Wrote documentation!
      Format the 'set func' functions so their paramlists are legible.
      Format some multi-line comments.
      Remove ability to get/set the "memory debug" functions at runtme.
      Remove MemCheck_* and CRYPTO_malloc_debug_init macros.
      Add CRYPTO_mem_debug(int flag) function.
      Add test/memleaktest.
      Rename CRYPTO_malloc_init to OPENSSL_malloc_init; remove needless calls.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      bbd86bf5
  2. 22 12月, 2015 1 次提交
  3. 17 12月, 2015 3 次提交
  4. 15 12月, 2015 1 次提交
  5. 14 12月, 2015 2 次提交
  6. 12 12月, 2015 1 次提交
  7. 10 12月, 2015 1 次提交
  8. 09 12月, 2015 1 次提交
  9. 03 12月, 2015 2 次提交
  10. 02 12月, 2015 1 次提交
  11. 24 11月, 2015 2 次提交
  12. 09 11月, 2015 1 次提交
  13. 22 10月, 2015 2 次提交
  14. 14 10月, 2015 2 次提交
  15. 30 9月, 2015 1 次提交
    • D
      Fix no-stdio build · 984d6c60
      David Woodhouse 提交于
      Much related/similar work also done by
      Ivan Nestlerode <ivan.nestlerode@sonos.com>
      
         +Replace FILE BIO's with dummy ops that fail.
         +Include <stdio.h> for sscanf() even with no-stdio (since the declaration
          is there). We rely on sscanf() to parse the OPENSSL_ia32cap environment
          variable, since it can be larger than a 'long'. And we don't rely on the
          availability of strtoull().
         +Remove OPENSSL_stderr(); not used.
         +Make OPENSSL_showfatal() do nothing (currently without stdio there's
          nothing we can do).
         +Remove file-based functionality from ssl/. The function
          prototypes were already gone, but not the functions themselves.
         +Remove unviable conf functionality via SYS_UEFI
         +Add fallback definition of BUFSIZ.
         +Remove functions taking FILE * from header files.
         +Add missing DECLARE_PEM_write_fp_const
         +Disable X509_LOOKUP_hash_dir(). X509_LOOKUP_file() was already compiled out,
          so remove its prototype.
         +Use OPENSSL_showfatal() in CRYPTO_destroy_dynlockid().
         +Eliminate SRP_VBASE_init() and supporting functions. Users will need to
          build the verifier manually instead.
         +Eliminate compiler warning for unused do_pk8pkey_fp().
         +Disable TEST_ENG_OPENSSL_PKEY.
         +Disable GOST engine as is uses [f]printf all over the place.
         +Eliminate compiler warning for unused send_fp_chars().
      Signed-off-by: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      984d6c60
  16. 28 9月, 2015 1 次提交
  17. 11 9月, 2015 1 次提交
  18. 07 9月, 2015 1 次提交
    • R
      Adapt mk1mf.pl and helpers to the new testing framework. · fd9ad230
      Richard Levitte 提交于
      With the new testing framework, building a test target with mk1mf.pl
      becomes a very simple thing.  And especially, no more need to do the
      amount of hackery in unix.pl we did.
      
      Also, some tests need a working apps/CA.pl as well as rehashed certs
      in certs/demo.  So, move the code creating those files so it gets done
      regardless, not just in non-mk1mf environments.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      fd9ad230
  19. 04 9月, 2015 1 次提交
    • D
      Revert "OPENSSL_NO_xxx cleanup: RFC3779" · 47bbaa5b
      David Woodhouse 提交于
      This reverts the non-cleanup parts of commit c73ad690. We do actually
      have a reasonable use case for OPENSSL_NO_RFC3779 in the EDK2 UEFI
      build, since we don't have a strspn() function in our runtime environment
      and we don't want the RFC3779 functionality anyway.
      
      In addition, it changes the default behaviour of the Configure script so
      that RFC3779 support isn't disabled by default. It was always disabled
      from when it was first added in 2006, right up until the point where
      OPENSSL_NO_RFC3779 was turned into a no-op, and the code in the
      Configure script was left *trying* to disable it, but not actually
      working.
      Signed-off-by: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      47bbaa5b
  20. 02 8月, 2015 2 次提交
  21. 23 5月, 2015 1 次提交
  22. 13 5月, 2015 1 次提交
  23. 02 5月, 2015 1 次提交
  24. 21 4月, 2015 1 次提交
  25. 20 4月, 2015 2 次提交
  26. 18 4月, 2015 1 次提交
  27. 15 4月, 2015 1 次提交
  28. 04 4月, 2015 1 次提交
    • R
      Appease clang -Wgnu-statement-expression · 04958e84
      Richard Levitte 提交于
      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: NRich Salz <rsalz@openssl.org>
      04958e84
  29. 01 4月, 2015 1 次提交
  30. 28 3月, 2015 1 次提交