mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 17:02:14 +01:00
set bio flag obviously
fix nightly Qt test
This commit is contained in:
@@ -17568,7 +17568,12 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
||||
wolfSSL_BIO_free(ssl->biord);
|
||||
ssl->biord = NULL;
|
||||
}
|
||||
|
||||
/* set flag obviously */
|
||||
if (rd && !(rd->flags & WOLFSSL_BIO_FLAG_READ))
|
||||
rd->flags |= WOLFSSL_BIO_FLAG_READ;
|
||||
if (wr && !(wr->flags & WOLFSSL_BIO_FLAG_WRITE))
|
||||
wr->flags |= WOLFSSL_BIO_FLAG_WRITE;
|
||||
|
||||
ssl->biord = rd;
|
||||
ssl->biowr = wr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user