diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-05-02 17:05:42 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-05-02 17:05:42 +0000 |
commit | 7c08811bd52666c5388352850f960e921a0276d7 (patch) | |
tree | bf5eecae04b1d0b3901796b231ca80cdd0738bf9 | |
parent | 588b1e37b9b788f5cc36bedcc0c18f4409e088e1 (diff) |
Nuke OPENSSL_NO_SOCK since any half sane operating system has sockets.
ok beck@
-rw-r--r-- | lib/libssl/bio_ssl.c | 4 | ||||
-rw-r--r-- | lib/libssl/ssl.h | 2 | ||||
-rw-r--r-- | lib/libssl/ssl_lib.c | 2 |
3 files changed, 0 insertions, 8 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); } diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 2325996f656..0e117dbca47 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1657,11 +1657,9 @@ const char * SSL_get_cipher_list(const SSL *s, int n); char * SSL_get_shared_ciphers(const SSL *s, char *buf, int len); int SSL_get_read_ahead(const SSL * s); int SSL_pending(const SSL *s); -#ifndef OPENSSL_NO_SOCK int SSL_set_fd(SSL *s, int fd); int SSL_set_rfd(SSL *s, int fd); int SSL_set_wfd(SSL *s, int fd); -#endif #ifndef OPENSSL_NO_BIO void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio); BIO * SSL_get_rbio(const SSL *s); diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index 21a48da182a..195271a554f 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -660,7 +660,6 @@ SSL_get_wfd(const SSL *s) return (ret); } -#ifndef OPENSSL_NO_SOCK int SSL_set_fd(SSL *s, int fd) { @@ -728,7 +727,6 @@ SSL_set_rfd(SSL *s, int fd) err: return (ret); } -#endif /* return length of latest Finished message we sent, copy to 'buf' */ |