[openssl/openssl] fe8956: Fix incorrect error return value in i2r_ADMISSION_...
Niels Dossche
noreply at github.com
Thu Jan 19 13:18:24 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: fe89566149fca339e4213b172c9928a5bf837506
https://github.com/openssl/openssl/commit/fe89566149fca339e4213b172c9928a5bf837506
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)
(cherry picked from commit 53b5d6c30f3b8eaf7a582da2265c0d1cfe14d54f)
More information about the openssl-commits
mailing list