diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bio/bss_conn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c index 865a4d4cd4..0f9cba06da 100644 --- a/crypto/bio/bss_conn.c +++ b/crypto/bio/bss_conn.c @@ -610,6 +610,10 @@ static long conn_ctrl(BIO *b, int cmd, long num, void *ptr) data->connect_mode |= BIO_SOCK_NONBLOCK; else data->connect_mode &= ~BIO_SOCK_NONBLOCK; + + if (data->dgram_bio != NULL) + ret = BIO_set_nbio(data->dgram_bio, num); + break; #if defined(TCP_FASTOPEN) && !defined(OPENSSL_NO_TFO) case BIO_C_SET_TFO: |