mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #7772 from douzzer/20240719-test-hpke-PRIVATE_KEY_UNLOCK
20240719-test-hpke-PRIVATE_KEY_UNLOCKpull/7774/head
commit
a9ff7730ce
|
@ -1767,10 +1767,12 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
|
|||
#endif
|
||||
|
||||
#if defined(HAVE_HPKE) && defined(HAVE_ECC) && defined(HAVE_AESGCM)
|
||||
PRIVATE_KEY_UNLOCK();
|
||||
if ( (ret = hpke_test()) != 0)
|
||||
TEST_FAIL("HPKE test failed!\n", ret);
|
||||
else
|
||||
TEST_PASS("HPKE test passed!\n");
|
||||
PRIVATE_KEY_LOCK();
|
||||
#endif
|
||||
|
||||
#if defined(WC_SRTP_KDF)
|
||||
|
|
|
@ -300,10 +300,16 @@ WOLFSSL_ABI WOLFSSL_API const char* wc_GetErrorString(int error);
|
|||
#ifdef WOLFSSL_DEBUG_TRACE_ERROR_CODES
|
||||
#define WC_NO_ERR_TRACE(label) (CONST_NUM_ERR_ ## label)
|
||||
#ifndef WC_ERR_TRACE
|
||||
#ifdef NO_STDIO_FILESYSTEM
|
||||
#define WC_ERR_TRACE(label) \
|
||||
( printf("ERR TRACE: %s L %d " #label " (%d)\n", \
|
||||
__FILE__, __LINE__, label), label)
|
||||
#else
|
||||
#define WC_ERR_TRACE(label) \
|
||||
( fprintf(stderr, \
|
||||
"ERR TRACE: %s L %d " #label " (%d)\n", \
|
||||
__FILE__, __LINE__, label), label)
|
||||
#endif
|
||||
#endif
|
||||
#include <wolfssl/debug-trace-error-codes.h>
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue