@@ -3792,7 +3792,7 @@ static CK_RV test_generate_key_pair(void* args)
37923792}
37933793#endif
37943794
3795- #ifdef HAVE_AES_KEYWRAP
3795+ #if defined( HAVE_AES_KEYWRAP) && !defined(WOLFPKCS11_NO_STORE)
37963796static CK_RV test_aes_wrap_unwrap_key(void* args)
37973797{
37983798 CK_SESSION_HANDLE session = *(CK_SESSION_HANDLE*)args;
@@ -3881,7 +3881,6 @@ static CK_RV test_aes_wrap_unwrap_pad_key(void* args)
38813881
38823882 return ret;
38833883}
3884- #endif /* HAVE_AES_KEYWRAP */
38853884
38863885static CK_RV test_wrap_unwrap_key(void* args)
38873886{
@@ -4006,6 +4005,7 @@ static CK_RV test_wrap_unwrap_key(void* args)
40064005
40074006 return ret;
40084007}
4008+ #endif /* HAVE_AES_KEYWRAP && !WOLFPKCS11_NO_STORE */
40094009
40104010#ifndef NO_DH
40114011static CK_RV test_derive_key(void* args)
@@ -13646,11 +13646,11 @@ static TEST_FUNC testFunc[] = {
1364613646#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)
1364713647 PKCS11TEST_FUNC_SESS_DECL(test_generate_key_pair),
1364813648#endif
13649- #ifdef HAVE_AES_KEYWRAP
13649+ #if defined( HAVE_AES_KEYWRAP) && !defined(WOLFPKCS11_NO_STORE)
1365013650 PKCS11TEST_FUNC_SESS_DECL(test_aes_wrap_unwrap_key),
1365113651 PKCS11TEST_FUNC_SESS_DECL(test_aes_wrap_unwrap_pad_key),
13652- #endif
1365313652 PKCS11TEST_FUNC_SESS_DECL(test_wrap_unwrap_key),
13653+ #endif /* HAVE_AES_KEYWRAP && !WOLFPKCS11_NO_STORE */
1365413654#ifndef NO_DH
1365513655 PKCS11TEST_FUNC_SESS_DECL(test_derive_key),
1365613656#endif
0 commit comments