1. 26 9月, 2001 4 次提交
    • G
      This commits changes to various parts of libcrypto required by the recent · cb78486d
      Geoff Thorpe 提交于
      ENGINE surgery. DH, DSA, RAND, and RSA now use *both* "method" and ENGINE
      pointers to manage their hooking with ENGINE. Previously their use of
      "method" pointers was replaced by use of ENGINE references. See
      crypto/engine/README for details.
      
      Also, remove the ENGINE iterations from evp_test - even when the
      cipher/digest code is committed in, this functionality would require a
      different set of API calls.
      cb78486d
    • G
    • G
      This change replaces the ENGINE's underlying mechanics with the new · b6d1e52d
      Geoff Thorpe 提交于
      ENGINE_TABLE-based stuff - as described in crypto/engine/README.
      
      Associated miscellaneous changes;
       - the previous cipher/digest hooks that hardwired directly to EVP's
         OBJ_NAME-based storage have been backed out. New cipher/digest support
         has been constructed and will be committed shortly.
       - each implementation defines its own ENGINE_load_<name> function now.
       - the "openssl" ENGINE isn't needed or loaded any more.
       - core (not algorithm or class specific) ENGINE code has been split into
         multiple files to increase readability and decrease linker bloat.
       - ENGINE_cpy() has been removed as it wasn't really a good idea in the
         first place and now, because of registration issues, can't be
         meaningfully defined any more.
       - BN_MOD_EXP[_CRT] support is removed as per the README.
       - a bug in enginetest.c has been fixed.
      
      NB: This commit almost certainly breaks compilation until subsequent
      changes are committed.
      b6d1e52d
    • G
      Some major restructuring changes to ENGINE, including integrated cipher and · f185e725
      Geoff Thorpe 提交于
      digest support, are on their way. Rather than having gigantic commit log
      messages and/or CHANGES entries, this change to the README will serve as an
      outline of what it all is and how it all works.
      f185e725
  2. 25 9月, 2001 1 次提交
  3. 24 9月, 2001 1 次提交
  4. 20 9月, 2001 1 次提交
  5. 15 9月, 2001 4 次提交
  6. 13 9月, 2001 1 次提交
  7. 12 9月, 2001 3 次提交
  8. 11 9月, 2001 7 次提交
  9. 10 9月, 2001 5 次提交
    • B
      Get rid of hazardous EVP_DigestInit_dbg/EVP_DigestInit case · 5e54b4f3
      Bodo Möller 提交于
      distinction (which does not work well because if CRYPTO_MDEBUG is
      defined at library compile time, it is not necessarily defined at
      application compile time; and memory debugging now can be reconfigured
      at run-time anyway).  To get the intended semantics, we could just use
      the EVP_DigestInit_dbg unconditionally (which uses the caller's
      __FILE__ and __LINE__ for memory leak debugging), but this would make
      memory debugging inconsistent.  Instead, callers can use
      CRYPTO_push_info() to track down memory leaks.
      5e54b4f3
    • B
      Get rid of hazardous EVP_DigestInit_dbg/EVP_DigestInit case · 5ba372b1
      Bodo Möller 提交于
      distinction (which does not work well because if CRYPTO_MDEBUG is
      defined at library compile time, it is not necessarily defined at
      application compile time; and memory debugging now can be reconfigured
      at run-time anyway).  To get the intended semantics, we could just use
      the EVP_DigestInit_dbg unconditionally (which uses the caller's
      __FILE__ and __LINE__ for memory leak debugging), but this would make
      memory debugging inconsistent.  Instead, callers can use
      CRYPTO_push_info() to track down memory leaks.
      
      Also fix indentation, and add OpenSSL copyright.
      5ba372b1
    • B
      copyright · f9b0f47c
      Bodo Möller 提交于
      f9b0f47c
    • B
      Delete pointless casts · 4deeadf7
      Bodo Möller 提交于
      4deeadf7
    • B
      Fix apps/openssl.c and ssl/ssltest.c so that they use · 384eff87
      Bodo Möller 提交于
      CRYPTO_set_mem_debug_options() instead of CRYPTO_dbg_set_options(),
      which is the default implementation of the former and should usually
      not be directly used by applications (at least if we assume that the
      options accepted by the default implementation will also be meaningful
      to any other implementations).
      
      Also fix apps/openssl.c and ssl/ssltest such that environment variable
      setting 'OPENSSL_DEBUG_MEMORY=off' actively disables the compiled-in
      library defaults (i.e. such that CRYPTO_MDEBUG is ignored in this
      case).
      384eff87
  10. 08 9月, 2001 2 次提交
  11. 07 9月, 2001 8 次提交
  12. 06 9月, 2001 3 次提交
    • B
      Avoid strdup. · 619b2c03
      Bodo Möller 提交于
      (Some platforms need _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to get
      the declaration, but on other platforms _XOPEN_SOURCE disables
      the strdup declaration in <string.h>.)
      619b2c03
    • B
      Totally get rid of CRYPTO_LOCK_ERR_HASH. · 78f79235
      Bodo Möller 提交于
      In err.c, flags int_error_hash_set and int_thread_hash_set
      appear superfluous since we can just as well initialize
      int_error_hash and int_thread_hash to NULL.
      
      Change some of the err.c formatting to conform with the rest of
      OpenSSL.
      78f79235
    • B
      improve OAEP check · a9ed4da8
      Bodo Möller 提交于
      a9ed4da8