diff options
author | 2014-05-02 17:05:41 +0000 | |
---|---|---|
committer | 2014-05-02 17:05:41 +0000 | |
commit | 640e48e745e125bb63038bf3a9da5e271f23a6e4 (patch) | |
tree | 4925d0cf42d28159b29ec32237162317ed19196f /lib/libssl/bio_ssl.c | |
parent | Sort and group includes. We also do not need to include openssl/evp.h more (diff) | |
download | wireguard-openbsd-640e48e745e125bb63038bf3a9da5e271f23a6e4.tar.xz wireguard-openbsd-640e48e745e125bb63038bf3a9da5e271f23a6e4.zip |
Nuke OPENSSL_NO_SOCK since any half sane operating system has sockets.
ok beck@
Diffstat (limited to 'lib/libssl/bio_ssl.c')
-rw-r--r-- | lib/libssl/bio_ssl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libssl/bio_ssl.c b/lib/libssl/bio_ssl.c index 4c5c5ac3de9..96ba1ad09c0 100644 --- a/lib/libssl/bio_ssl.c +++ b/lib/libssl/bio_ssl.c @@ -509,7 +509,6 @@ ssl_puts(BIO *bp, const char *str) BIO * BIO_new_buffer_ssl_connect(SSL_CTX *ctx) { -#ifndef OPENSSL_NO_SOCK BIO *ret = NULL, *buf = NULL, *ssl = NULL; if ((buf = BIO_new(BIO_f_buffer())) == NULL) @@ -524,14 +523,12 @@ err: BIO_free(buf); if (ssl != NULL) BIO_free(ssl); -#endif return (NULL); } BIO * BIO_new_ssl_connect(SSL_CTX *ctx) { -#ifndef OPENSSL_NO_SOCK BIO *ret = NULL, *con = NULL, *ssl = NULL; if ((con = BIO_new(BIO_s_connect())) == NULL) @@ -544,7 +541,6 @@ BIO_new_ssl_connect(SSL_CTX *ctx) err: if (con != NULL) BIO_free(con); -#endif return (NULL); } |