pkcs11-tool: Fix wrong printf arguments
This argument should be of type 'unsigned int' but is of type 'unsigned long' Thanks lgtm
This commit is contained in:
parent
f301ec98b6
commit
0a610319bd
|
@ -3328,7 +3328,7 @@ static int write_object(CK_SESSION_HANDLE session)
|
|||
else if (strncasecmp(opt_key_type, "DES3:", strlen("DES3:")) == 0)
|
||||
type = CKK_DES3;
|
||||
else
|
||||
util_fatal("Unknown key type: 0x%X", type);
|
||||
util_fatal("Unknown key type: 0x%lX", type);
|
||||
}
|
||||
|
||||
FILL_ATTR(seckey_templ[0], CKA_CLASS, &clazz, sizeof(clazz));
|
||||
|
@ -4489,7 +4489,7 @@ static int read_object(CK_SESSION_HANDLE session)
|
|||
#endif
|
||||
}
|
||||
else
|
||||
util_fatal("Reading public keys of type 0x%X not (yet) supported", type);
|
||||
util_fatal("Reading public keys of type 0x%lX not (yet) supported", type);
|
||||
value = BIO_copy_data(pout, &derlen);
|
||||
BIO_free(pout);
|
||||
len = derlen;
|
||||
|
|
Loading…
Reference in New Issue