[openssl/openssl] 53b5d6: Fix incorrect error return value in i2r_ADMISSION_...
Niels Dossche
noreply at github.com
Thu Jan 19 13:17:19 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 53b5d6c30f3b8eaf7a582da2265c0d1cfe14d54f
https://github.com/openssl/openssl/commit/53b5d6c30f3b8eaf7a582da2265c0d1cfe14d54f
Author: Niels Dossche <niels.dossche at ugent.be>
Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths:
M crypto/x509/v3_admis.c
Log Message:
-----------
Fix incorrect error return value in i2r_ADMISSION_SYNTAX()
The other implementations of i2r return 0 in case of an error, but
i2r_ADMISSION_SYNTAX() returns -1. That means the check on i2r does not
catch the error. Change it to return 0 like the others do.
Fixes: #20066
CLA: trivial
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20068)
More information about the openssl-commits
mailing list