projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
If errno is ENXIO in BSS_new_file(), set BIO_R_NO_SUCH_FILE
[oweals/openssl.git]
/
crypto
/
bio
/
b_addr.c
diff --git
a/crypto/bio/b_addr.c
b/crypto/bio/b_addr.c
index 4e8785fdcd41e28ca9f393e82621096f49175b8f..29f92cf7c72ea592bdd0d6546f4a7b4bfc207395 100644
(file)
--- a/
crypto/bio/b_addr.c
+++ b/
crypto/bio/b_addr.c
@@
-604,8
+604,9
@@
static int addrinfo_wrap(int family, int socktype,
DEFINE_RUN_ONCE_STATIC(do_bio_lookup_init)
{
+ OPENSSL_init_crypto(0, NULL);
bio_lookup_lock = CRYPTO_THREAD_lock_new();
- return
(bio_lookup_lock != NULL)
;
+ return
bio_lookup_lock != NULL
;
}
/*-