diff options
Diffstat (limited to 'src/lib/libcrypto/bio/b_posix.c')
-rw-r--r-- | src/lib/libcrypto/bio/b_posix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/b_posix.c b/src/lib/libcrypto/bio/b_posix.c index a850bc6aea..aed51bd717 100644 --- a/src/lib/libcrypto/bio/b_posix.c +++ b/src/lib/libcrypto/bio/b_posix.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: b_posix.c,v 1.1 2014/12/03 22:14:38 bcook Exp $ */ | 1 | /* $OpenBSD: b_posix.c,v 1.2 2018/03/17 16:20:01 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -68,6 +68,8 @@ | |||
68 | int | 68 | int |
69 | BIO_sock_init(void) | 69 | BIO_sock_init(void) |
70 | { | 70 | { |
71 | if (!OPENSSL_init_crypto(0, NULL)) /* XXX do we need this? */ | ||
72 | return (0); | ||
71 | return (1); | 73 | return (1); |
72 | } | 74 | } |
73 | 75 | ||