[openssl/openssl] 820f7c: Fix BIO_set_indent() check
Niels Dossche
noreply at github.com
Wed Feb 8 16:06:28 UTC 2023
Branch: refs/heads/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: 820f7c64a2631514090792d2cc99db2f72dffa67
https://github.com/openssl/openssl/commit/820f7c64a2631514090792d2cc99db2f72dffa67
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)
(cherry picked from commit 826374921a6b92293fd87655416eda8ef07301c8)
More information about the openssl-commits
mailing list