File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ PKCS11_OBJECT_private *pkcs11_object_from_handle(PKCS11_SLOT_private *slot,
100100 default :
101101 /* Ignore any keys we don't understand */
102102 pkcs11_log (ctx , LOG_DEBUG ,
103- "Unsupported CKA_KEY_TYPE attribute value: %d \n" ,
104- key_type );
103+ "Unsupported CKA_KEY_TYPE attribute value: %lu \n" ,
104+ ( unsigned long ) key_type );
105105 return NULL ;
106106 }
107107 break ;
@@ -114,8 +114,8 @@ PKCS11_OBJECT_private *pkcs11_object_from_handle(PKCS11_SLOT_private *slot,
114114 /* Ignore unknown certificate types */
115115 if (cert_type != CKC_X_509 ) {
116116 pkcs11_log (ctx , LOG_DEBUG ,
117- "Unsupported CKA_CERTIFICATE_TYPE attribute value: %d \n" ,
118- cert_type );
117+ "Unsupported CKA_CERTIFICATE_TYPE attribute value: %lu \n" ,
118+ ( unsigned long ) cert_type );
119119 return NULL ;
120120 }
121121 break ;
You can’t perform that action at this time.
0 commit comments