]> git.ipfire.org Git - thirdparty/openssl.git/commit - test/evp_extra_test.c
Add a test for NULL chunks in encrypt/decrypt
authorMatt Caswell <matt@openssl.org>
Fri, 31 May 2019 13:32:55 +0000 (14:32 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 29 Nov 2019 10:41:06 +0000 (10:41 +0000)
commitb4be6937f2a80aa48afd1e3de50749874e4ad9b5
tree3f337dc2e9561e68df50815a4bd86f6a76ef2328
parent4b9c750be83644aca15a98e75b566e7f6c3644d7
Add a test for NULL chunks in encrypt/decrypt

Issue #8675 describes a problem where calling EVP_DecryptUpdate() with an
empty chunk causes the result to be different compared to if you do not
use an empty chunk. This adds a test for that case.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10530)
test/evp_extra_test.c