Update evp_test to make sure passing partial block to "Update" is ok
authorMatt Caswell <matt@openssl.org>
Mon, 23 Jan 2017 12:45:33 +0000 (12:45 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Jan 2017 15:07:36 +0000 (15:07 +0000)
commitfd18736a6b970c9b772f9c1b3cda4adcd20c63e2
treec61c7dfe2167dc71f3f83a8998888e866b174379
parent6af62ee9af06d057f03ec2abc8b9dfd4ac11b16f
Update evp_test to make sure passing partial block to "Update" is ok

The previous commit fixed a bug where a partial block had been passed to
an "Update" function and it wasn't properly handled. We should catch this
type of error in evp_test.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2275)
(cherry picked from commit 0b96d77a62d8ac9a45ac1dda47560ced676b5b8d)
test/evp_test.c