diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bio/b_sock.c | 2 | ||||
-rw-r--r-- | crypto/init.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index 046de99190..e0038f0188 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -205,7 +205,7 @@ int BIO_sock_init(void) return (1); } -void BIO_sock_cleanup(void) +void bio_sock_cleanup_intern(void) { # ifdef OPENSSL_SYS_WINDOWS if (wsa_init_done) { diff --git a/crypto/init.c b/crypto/init.c index 3bfe4502eb..2d50d4deb8 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -59,6 +59,7 @@ #include <internal/cryptlib_int.h> #include <openssl/err.h> #include <internal/rand.h> +#include <internal/bio.h> #include <openssl/evp.h> #include <internal/evp_int.h> #include <internal/conf.h> @@ -463,7 +464,7 @@ void OPENSSL_cleanup(void) fprintf(stderr, "OPENSSL_INIT: OPENSSL_cleanup: " "crypto_cleanup_all_ex_data_intern()\n"); fprintf(stderr, "OPENSSL_INIT: OPENSSL_cleanup: " - "BIO_sock_cleanup()\n"); + "bio_sock_cleanup_intern()\n"); fprintf(stderr, "OPENSSL_INIT: OPENSSL_cleanup: " "EVP_cleanup()\n"); fprintf(stderr, "OPENSSL_INIT: OPENSSL_cleanup: " @@ -485,7 +486,7 @@ void OPENSSL_cleanup(void) #endif crypto_cleanup_all_ex_data_intern(); #ifndef OPENSSL_NO_SOCK - BIO_sock_cleanup(); + bio_sock_cleanup_intern(); #endif EVP_cleanup(); OBJ_cleanup(); |