Skip to content
Commit 1c2e5d56 authored by Matt Caswell's avatar Matt Caswell
Browse files

Remove a reachable assert from ssl3_write_bytes



A buggy application that call SSL_write with a different length after a
NBIO event could cause an OPENSSL_assert to be reached. The assert is not
actually necessary because there was an explicit check a little further
down that would catch this scenario. Therefore remove the assert an move
the check a little higher up.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 6929b447
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