Skip to content

Commit 0231f33

Browse files
committed
ssl internal: log preMasterSecret Memory error msg.
1 parent 7a0c40e commit 0231f33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/internal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7396,6 +7396,7 @@ int ReinitSSL(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup)
73967396
ssl->arrays->preMasterSecret = (byte*)XMALLOC(ENCRYPT_LEN, ssl->heap,
73977397
DYNAMIC_TYPE_SECRET);
73987398
if (ssl->arrays->preMasterSecret == NULL) {
7399+
WOLFSSL_MSG("preMasterSecret Memory error");
73997400
return MEMORY_E;
74007401
}
74017402
#ifdef WOLFSSL_CHECK_MEM_ZERO

0 commit comments

Comments
 (0)