[openssl/openssl] 826374: Fix BIO_set_indent() check
Niels Dossche
noreply at github.com
Wed Feb 8 16:06:25 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 826374921a6b92293fd87655416eda8ef07301c8
https://github.com/openssl/openssl/commit/826374921a6b92293fd87655416eda8ef07301c8
Author: Niels Dossche <niels.dossche at ugent.be>
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M crypto/asn1/asn1_parse.c
Log Message:
-----------
Fix BIO_set_indent() check
This function returns an errorcode <= 0, but only < 0 is checked. Other
callers that check the return value perform this check correctly. Fix it
by changing the check to <= 0.
CLA: trivial
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20186)
More information about the openssl-commits
mailing list