Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ void wolfSSL_free(WOLFSSL* ssl)
WOLFSSL_ENTER("wolfSSL_free");

if (ssl) {
WOLFSSL_MSG_EX("Free SSL: %p", (uintptr_t)ssl);
WOLFSSL_MSG_EX("Free SSL: %p", (wc_ptr_t)ssl);
FreeSSL(ssl, ssl->ctx->heap);
}
else {
Expand Down
2 changes: 1 addition & 1 deletion src/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -7480,7 +7480,7 @@ static int TLSX_KeyShare_GenEccKey(WOLFSSL *ssl, KeyShareEntry* kse)
kse->key = (byte*)XMALLOC(sizeof(ecc_key), ssl->heap, DYNAMIC_TYPE_ECC);
if (kse->key == NULL) {
WOLFSSL_MSG_EX("Failed to allocate %d bytes, ssl->heap: %p",
(int)sizeof(ecc_key), (uintptr_t)ssl->heap);
(int)sizeof(ecc_key), (wc_ptr_t)ssl->heap);
WOLFSSL_MSG("EccTempKey Memory error!");
return MEMORY_E;
}
Expand Down