]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix error check for EVP_CTRL_AEAD_GET_TAG
authorndossche <niels.dossche@ugent.be>
Tue, 21 Apr 2026 21:15:58 +0000 (23:15 +0200)
committerNikola Pajkovsky <nikolap@openssl.org>
Fri, 24 Apr 2026 11:29:45 +0000 (11:29 +0000)
commit674c23d2656ebb0203976fff8d0ab65fbf48f1b9
treec7d20f1a8d694560e924e9949b2d09bfe61ad4b3
parentd31fbbeded371bf30695727841b2e8da855c7ffa
Fix error check for EVP_CTRL_AEAD_GET_TAG

"< 0" is definitely wrong as it can return 0 on error.
Change the checks that are not of the form "== 1" or "!= 1" to "<= 0".

Reviewed-by: Matt Caswell <matt@openssl.foundation>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
MergeDate: Fri Apr 24 11:29:50 2026
(Merged from https://github.com/openssl/openssl/pull/30923)
apps/speed.c
crypto/pkcs12/p12_decr.c
test/evp_extra_test.c