mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
initialize kari decoded cert
This commit is contained in:
@ -5668,6 +5668,7 @@ static WC_PKCS7_KARI* wc_PKCS7_KariNew(PKCS7* pkcs7, byte direction)
|
||||
XFREE(kari, pkcs7->heap, DYNAMIC_TYPE_PKCS7);
|
||||
return NULL;
|
||||
}
|
||||
XMEMSET(kari->decoded, 0, sizeof(DecodedCert));
|
||||
|
||||
kari->recipKey = (ecc_key*)XMALLOC(sizeof(ecc_key), pkcs7->heap,
|
||||
DYNAMIC_TYPE_PKCS7);
|
||||
|
Reference in New Issue
Block a user