X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=ssl%2Fbio_ssl.c;h=d683ee43e192fabeb751cf9707956f44e9085dde;hb=705d0f5c8d57a72b003647586a6be371e7e79e27;hp=1301549e21ff60b4e800bed41307ae8691a187b4;hpb=8e1e238219aba2cd86bd8e5f175c233177ee18f8;p=oweals%2Fopenssl.git diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c index 1301549e21..d683ee43e1 100644 --- a/ssl/bio_ssl.c +++ b/ssl/bio_ssl.c @@ -513,6 +513,7 @@ static int 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) @@ -525,6 +526,7 @@ BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx) err: if (buf != NULL) BIO_free(buf); if (ssl != NULL) BIO_free(ssl); +#endif return(NULL); }