File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -960,7 +960,6 @@ int BIO_set_tcp_ndelay(int s, int on)
960
960
#endif
961
961
return (ret == 0 );
962
962
}
963
- #endif
964
963
965
964
int BIO_socket_nbio (int s , int mode )
966
965
{
@@ -973,3 +972,4 @@ int BIO_socket_nbio(int s, int mode)
973
972
#endif
974
973
return (ret == 0 );
975
974
}
975
+ #endif
Original file line number Diff line number Diff line change @@ -538,6 +538,7 @@ BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx)
538
538
539
539
BIO * BIO_new_ssl_connect (SSL_CTX * ctx )
540
540
{
541
+ #ifndef OPENSSL_NO_SOCK
541
542
BIO * ret = NULL ,* con = NULL ,* ssl = NULL ;
542
543
543
544
if ((con = BIO_new (BIO_s_connect ())) == NULL )
@@ -549,6 +550,7 @@ BIO *BIO_new_ssl_connect(SSL_CTX *ctx)
549
550
return (ret );
550
551
err :
551
552
if (con != NULL ) BIO_free (con );
553
+ #endif
552
554
return (NULL );
553
555
}
554
556
You can’t perform that action at this time.
0 commit comments