diff options
-rw-r--r-- | crypto/bio/bss_dgram_pair.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/bio/bss_dgram_pair.c b/crypto/bio/bss_dgram_pair.c index 3685d51f55..b80fa62e48 100644 --- a/crypto/bio/bss_dgram_pair.c +++ b/crypto/bio/bss_dgram_pair.c @@ -1066,12 +1066,10 @@ static int dgram_pair_recvmmsg(BIO *bio, BIO_MSG *msg, m->local, m->peer, 1); if (l < 0) { *num_processed = i; - if (i > 0) { + if (i > 0) ret = 1; - } else { - ERR_raise(ERR_LIB_BIO, -l); + else ret = 0; - } goto out; } |