@@ -1088,8 +1088,8 @@ CK_RV C_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject,
10881088 WOLFPKCS11_ENTER ("C_CopyObject" );
10891089 #ifdef DEBUG_WOLFPKCS11
10901090 if (wolfpkcs11_debugging ) {
1091- WOLFPKCS11_MSG (" hSession=%lu, hObject=%lu, ulCount=%lu" ,
1092- (unsigned long )hSession , (unsigned long )hObject ,
1091+ WOLFPKCS11_MSG (" hSession=%lu, hObject=%lu, ulCount=%lu" ,
1092+ (unsigned long )hSession , (unsigned long )hObject ,
10931093 (unsigned long )ulCount );
10941094 }
10951095 #endif
@@ -1312,8 +1312,8 @@ CK_RV C_GetAttributeValue(CK_SESSION_HANDLE hSession,
13121312 WOLFPKCS11_ENTER ("C_GetAttributeValue" );
13131313 #ifdef DEBUG_WOLFPKCS11
13141314 if (wolfpkcs11_debugging ) {
1315- WOLFPKCS11_MSG (" hSession=%lu, hObject=%lu, ulCount=%lu" ,
1316- (unsigned long )hSession , (unsigned long )hObject ,
1315+ WOLFPKCS11_MSG (" hSession=%lu, hObject=%lu, ulCount=%lu" ,
1316+ (unsigned long )hSession , (unsigned long )hObject ,
13171317 (unsigned long )ulCount );
13181318 }
13191319 #endif
@@ -1414,8 +1414,8 @@ CK_RV C_SetAttributeValue(CK_SESSION_HANDLE hSession,
14141414 WOLFPKCS11_ENTER ("C_SetAttributeValue" );
14151415 #ifdef DEBUG_WOLFPKCS11
14161416 if (wolfpkcs11_debugging ) {
1417- WOLFPKCS11_MSG (" hSession=%lu, hObject=%lu, ulCount=%lu" ,
1418- (unsigned long )hSession , (unsigned long )hObject ,
1417+ WOLFPKCS11_MSG (" hSession=%lu, hObject=%lu, ulCount=%lu" ,
1418+ (unsigned long )hSession , (unsigned long )hObject ,
14191419 (unsigned long )ulCount );
14201420 }
14211421 #endif
@@ -6534,6 +6534,7 @@ CK_RV C_WrapKey(CK_SESSION_HANDLE hSession,
65346534 break ;
65356535 }
65366536 (void )pWrappedKey ;
6537+ (void )wrapkeyType ;
65376538
65386539err_out :
65396540
@@ -6724,6 +6725,7 @@ CK_RV C_UnwrapKey(CK_SESSION_HANDLE hSession,
67246725 rv = CKR_KEY_NOT_WRAPPABLE ;
67256726 goto err_out ;
67266727 }
6728+ (void )wrapkeyType ;
67276729
67286730err_out :
67296731
@@ -6772,6 +6774,7 @@ static int SymmKeyLen(WP11_Object* obj, word32 len, word32* symmKeyLen)
67726774}
67736775#endif
67746776
6777+ #ifdef WOLFSSL_HAVE_PRF
67756778static int SetKeyExtract (WP11_Session * session , byte * ptr , CK_ULONG length ,
67766779 CK_ATTRIBUTE_PTR pTemplate , CK_ULONG ulAttributeCount ,
67776780 CK_BBOOL isMac , CK_OBJECT_HANDLE * handle )
@@ -6909,6 +6912,7 @@ static int Tls12_Extract_Keys(WP11_Session* session,
69096912 }
69106913 return ret ;
69116914}
6915+ #endif
69126916
69136917/**
69146918 * Generate a symmetric key into a new key object.
0 commit comments