mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Reaction to Jeff Trawick's observations that we are double-initializing
dynalinked OpenSSL Engines and Configs. Move the library teardown code so that it is torn down in the proper order, corresponding to when the library itself was initialized. And leave a little reminder that some memory diagnostics would be good if OpenSSL is built for malloc debugging. Suggested by: Geoff Thorpe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100288 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1251,13 +1251,6 @@ apr_status_t ssl_init_ModuleKill(void *data)
|
||||
ssl_init_ctx_cleanup_server(sc->server);
|
||||
}
|
||||
|
||||
/*
|
||||
* Try to kill the internals of the SSL library.
|
||||
*/
|
||||
ERR_free_strings();
|
||||
ERR_remove_state(0);
|
||||
EVP_cleanup();
|
||||
|
||||
return APR_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user