Remove an OPENSSL_assert() and replace with a soft assert and check
authorMatt Caswell <matt@openssl.org>
Fri, 3 Feb 2017 14:45:49 +0000 (14:45 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 16 Feb 2017 09:35:56 +0000 (09:35 +0000)
commit2c55b28a34624c18e3d05dfd7acb78895e3a64e6
tree05d537cf7b5d8ec14af5e7a42b8410179fe4d4ce
parent28a31a0a10f41ef855cabab4e18c994c44225125
Remove an OPENSSL_assert() and replace with a soft assert and check

Following on from CVE-2017-3733, this removes the OPENSSL_assert() check
that failed and replaces it with a soft assert, and an explicit check of
value with an error return if it fails.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/record/ssl3_record.c