Skip to content

Commit 7652310

Browse files
committed
wolfcrypt/test/test.c: add missing PRIVATE_KEY_UNLOCK() for hpke_test().
1 parent 6952d1a commit 7652310

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wolfcrypt/test/test.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,10 +1767,12 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
17671767
#endif
17681768

17691769
#if defined(HAVE_HPKE) && defined(HAVE_ECC) && defined(HAVE_AESGCM)
1770+
PRIVATE_KEY_UNLOCK();
17701771
if ( (ret = hpke_test()) != 0)
17711772
TEST_FAIL("HPKE test failed!\n", ret);
17721773
else
17731774
TEST_PASS("HPKE test passed!\n");
1775+
PRIVATE_KEY_LOCK();
17741776
#endif
17751777

17761778
#if defined(WC_SRTP_KDF)

0 commit comments

Comments
 (0)