Skip to content
Commit 71d52f1a authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix SSL_pending() for DTLS



DTLS was not correctly returning the number of pending bytes left in
a call to SSL_pending(). This makes the detection of truncated packets
almost impossible.

Fixes #5478

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6021)
parent f55e2fa7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment