File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1517,7 +1517,7 @@ void wolfSSL_free(WOLFSSL* ssl)
15171517 WOLFSSL_ENTER("wolfSSL_free");
15181518
15191519 if (ssl) {
1520- WOLFSSL_MSG_EX("Free SSL: %p", (uintptr_t )ssl);
1520+ WOLFSSL_MSG_EX("Free SSL: %p", (wc_ptr_t )ssl);
15211521 FreeSSL(ssl, ssl->ctx->heap);
15221522 }
15231523 else {
Original file line number Diff line number Diff line change @@ -7480,7 +7480,7 @@ static int TLSX_KeyShare_GenEccKey(WOLFSSL *ssl, KeyShareEntry* kse)
74807480 kse -> key = (byte * )XMALLOC (sizeof (ecc_key ), ssl -> heap , DYNAMIC_TYPE_ECC );
74817481 if (kse -> key == NULL ) {
74827482 WOLFSSL_MSG_EX ("Failed to allocate %d bytes, ssl->heap: %p" ,
7483- (int )sizeof (ecc_key ), (uintptr_t )ssl -> heap );
7483+ (int )sizeof (ecc_key ), (wc_ptr_t )ssl -> heap );
74847484 WOLFSSL_MSG ("EccTempKey Memory error!" );
74857485 return MEMORY_E ;
74867486 }
You can’t perform that action at this time.
0 commit comments