[openssl/openssl] 8211ca: PKCS7: Remove one of the duplicate checks
JiashengJiang
noreply at github.com
Mon Mar 11 14:21:14 UTC 2024
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 8211ca45e41efd4224705848f1de3c2d6aa7b07a
https://github.com/openssl/openssl/commit/8211ca45e41efd4224705848f1de3c2d6aa7b07a
Author: Jiasheng Jiang <jiasheng at purdue.edu>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M crypto/pkcs7/pk7_smime.c
Log Message:
-----------
PKCS7: Remove one of the duplicate checks
There are two consecutive identical checks "if (i <= 0)".
We can remove one of them to make the code clear.
CLA: trivial
Signed-off-by: Jiasheng Jiang <jiasheng at purdue.edu>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23741)
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
More information about the openssl-commits
mailing list