mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +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);
|
XFREE(kari, pkcs7->heap, DYNAMIC_TYPE_PKCS7);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
XMEMSET(kari->decoded, 0, sizeof(DecodedCert));
|
||||||
|
|
||||||
kari->recipKey = (ecc_key*)XMALLOC(sizeof(ecc_key), pkcs7->heap,
|
kari->recipKey = (ecc_key*)XMALLOC(sizeof(ecc_key), pkcs7->heap,
|
||||||
DYNAMIC_TYPE_PKCS7);
|
DYNAMIC_TYPE_PKCS7);
|
||||||
|
Reference in New Issue
Block a user