From e7ae64d9b50f8b5636637c3db06b697a4a1daa67 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Wed, 29 Mar 2023 15:49:03 +0200 Subject: [PATCH] pkcs12.c: Ignore param when heap not used --- wolfcrypt/src/pkcs12.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wolfcrypt/src/pkcs12.c b/wolfcrypt/src/pkcs12.c index 7756d4379..b2d837caa 100644 --- a/wolfcrypt/src/pkcs12.c +++ b/wolfcrypt/src/pkcs12.c @@ -1157,6 +1157,8 @@ static byte* PKCS12_ConcatonateContent(WC_PKCS12* pkcs12,byte* mergedData, byte* oldContent; word32 oldContentSz; + (void)pkcs12; + if (mergedData == NULL || in == NULL) return NULL;