projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deprecate ERR_free_strings() and make it a no-op
[oweals/openssl.git]
/
ssl
/
ssl_init.c
diff --git
a/ssl/ssl_init.c
b/ssl/ssl_init.c
index 413fa4105bc4a3d72dc6645e7e6a22841b4943b5..2462fa5eab1329794119ab5ea0d4a592c17f4078 100644
(file)
--- a/
ssl/ssl_init.c
+++ b/
ssl/ssl_init.c
@@
-57,7
+57,8
@@
#include "e_os.h"
#include "e_os.h"
-#include <internal/threads.h>
+#include "internal/threads.h"
+#include "internal/err.h"
#include <openssl/crypto.h>
#include <openssl/evp.h>
#include <assert.h>
#include <openssl/crypto.h>
#include <openssl/evp.h>
#include <assert.h>
@@
-206,15
+207,15
@@
static void ssl_library_stop(void)
if (ssl_strings_inited) {
#ifdef OPENSSL_INIT_DEBUG
fprintf(stderr, "OPENSSL_INIT: ssl_library_stop: "
if (ssl_strings_inited) {
#ifdef OPENSSL_INIT_DEBUG
fprintf(stderr, "OPENSSL_INIT: ssl_library_stop: "
- "
ERR_free_strings
()\n");
+ "
err_free_strings_intern
()\n");
#endif
/*
* If both crypto and ssl error strings are inited we will end up
#endif
/*
* If both crypto and ssl error strings are inited we will end up
- * calling
ERR_free_strings() twice - but that's ok. The second time
- * will be a no-op. It's easier to do that than to try and track
+ * calling
err_free_strings_intern() twice - but that's ok. The second
+ *
time
will be a no-op. It's easier to do that than to try and track
* between the two libraries whether they have both been inited.
*/
* between the two libraries whether they have both been inited.
*/
-
ERR_free_strings
();
+
err_free_strings_intern
();
}
}
}
}