mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #2986 from kaleb-himes/ZD9610_REPORT2
Fix building with openssl extra x509 small writes to heap without alloc
This commit is contained in:
@ -10563,7 +10563,7 @@ int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
||||
#endif
|
||||
|
||||
/* allocate buffer for certs */
|
||||
#ifdef OPENSSL_EXTRA
|
||||
#if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)
|
||||
args->certs = (buffer*)XMALLOC(sizeof(buffer) *
|
||||
(ssl->verifyDepth + 1), ssl->heap, DYNAMIC_TYPE_DER);
|
||||
if (args->certs == NULL) {
|
||||
|
Reference in New Issue
Block a user