Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ssl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-02-14 04:03:06 +0300
committerRichard Levitte <levitte@openssl.org>2003-02-14 04:03:06 +0300
commitb9447ec1bc3af45325559cb1257482bc28e10125 (patch)
tree1e35b92ba054cee803a07915f76d0d7a535e1bb3 /ssl
parent73bec6d4b74518c594678ae6e35dae13211157c0 (diff)
Make it possible to disable OCSP, the speed application, and the use of sockets.
PR: 358
Diffstat (limited to 'ssl')
-rw-r--r--ssl/bio_ssl.c2
1 files changed, 2 insertions, 0 deletions
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);
}