diff options
author | Matt Caswell <matt@openssl.org> | 2016-08-23 20:49:26 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-08-24 09:25:53 +0100 |
commit | 44cb4f5b5f0cee7e177aa8fc214b992f016fa8f0 (patch) | |
tree | 74248a35f296e1d3e051941bd9fbe89b8130152c /crypto | |
parent | e97763c92c655dcf4af2860b3abd2bc4c8a267f9 (diff) |
Fix no-sock
The declaration of bio_type_lock is independent of no-sock so should not be
inside OPENSSL_NO_SOCK guards.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bio/bio_lcl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bio/bio_lcl.h b/crypto/bio/bio_lcl.h index 5d0b827930..39178cf50a 100644 --- a/crypto/bio/bio_lcl.h +++ b/crypto/bio/bio_lcl.h @@ -137,7 +137,6 @@ typedef unsigned int socklen_t; # endif extern CRYPTO_RWLOCK *bio_lookup_lock; -extern CRYPTO_RWLOCK *bio_type_lock; int BIO_ADDR_make(BIO_ADDR *ap, const struct sockaddr *sa); const struct sockaddr *BIO_ADDR_sockaddr(const BIO_ADDR *ap); @@ -147,6 +146,8 @@ socklen_t BIO_ADDRINFO_sockaddr_size(const BIO_ADDRINFO *bai); const struct sockaddr *BIO_ADDRINFO_sockaddr(const BIO_ADDRINFO *bai); #endif +extern CRYPTO_RWLOCK *bio_type_lock; + void bio_sock_cleanup_int(void); #if BIO_FLAGS_UPLINK==0 |