Files
heimdal/lib
Roland C. Dowdeswell 13a6ac59ad Fix memory leak in hx509_context_init().
OpenSSL_add_all_algorithms() should only be run once per application
or it will cause data structures to expand.  It's not a classic
memory leak as all of the memory will be free(3)d when EVP_cleanup()
is called but as we are a library we cannot call this.  We provide
a short term fix here which is using heim_base_once_f() to ensure
that we only call it once.

But the long term fix should be to stop using OpenSSL_add_all_algorithms()
entirely because it both has side effects outside our library and
the caller may destroy our OpenSSL global variables by calling
EVP_cleanup() on his own.  It is suboptimal to have potential
interactions between our library and other code in this way.
2012-07-17 19:38:46 +01:00
..
2012-04-05 22:55:01 -07:00
2012-03-11 10:13:47 -07:00
2012-02-15 10:58:00 +00:00
2012-06-12 18:48:37 -04:00
2012-06-20 19:32:08 -05:00
2012-06-20 19:32:08 -05:00