openssl/crypto/pkcs7
Jiasheng Jiang 8211ca45e4 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@purdue.edu>

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23741)
2024-03-11 15:19:15 +01:00
..
bio_pk7.c pkcs7: Remove unused includes 2022-11-10 08:11:57 +11:00
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
pk7_asn1.c crypto/*: Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:01 +11:00
pk7_attr.c Fix possible memleak in PKCS7_add0_attrib_signing_time 2023-11-22 09:49:02 +01:00
pk7_doit.c CMS and PKCS7: fix handlling of EVP_PKEY_get_size() failure 2023-10-26 16:03:48 +01:00
pk7_lib.c Copyright year updates 2023-09-07 09:59:15 +01:00
pk7_local.h Add library context and property query support into the PKCS12 API 2021-04-30 09:15:50 +10:00
pk7_mime.c Add NULL checks where ContentInfo data can be NULL 2024-01-25 15:27:43 +00:00
pk7_smime.c PKCS7: Remove one of the duplicate checks 2024-03-11 15:19:15 +01:00
pkcs7err.c Update copyright year 2021-06-17 13:24:59 +01:00