Skip to content
  1. Feb 17, 2016
    • Richard Levitte's avatar
    • Richard Levitte's avatar
      Implement the use of heap manipulator implementions · 05c7b163
      Richard Levitte authored
      
      
      - Make use of the functions given through CRYPTO_set_mem_functions().
      - CRYPTO_free(), CRYPTO_clear_free() and CRYPTO_secure_free() now receive
        __FILE__ and __LINE__.
      - The API for CRYPTO_set_mem_functions() and CRYPTO_get_mem_functions()
        is slightly changed, the implementation for free() now takes a couple
        of extra arguments, taking __FILE__ and __LINE__.
      - The CRYPTO_ memory functions will *always* receive __FILE__ and __LINE__
        from the corresponding OPENSSL_ macros, regardless of if crypto-mdebug
        has been enabled or not.  The reason is that if someone swaps out the
        malloc(), realloc() and free() implementations, we can't know if they
        will use them or not.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      05c7b163
  2. Feb 16, 2016
  3. Feb 15, 2016
  4. Feb 14, 2016
  5. Feb 13, 2016