1. 11 9月, 2001 4 次提交
  2. 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
  3. 08 9月, 2001 2 次提交
  4. 07 9月, 2001 13 次提交
  5. 06 9月, 2001 16 次提交