Skip to content

Commit eda86e4

Browse files
xhanulikfrankmorgner
authored andcommitted
pkcs11-tool: Fix int conversion
1 parent 1774fd0 commit eda86e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/pkcs11-tool.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -7198,7 +7198,7 @@ static int wrap_unwrap(CK_SESSION_HANDLE session,
71987198

71997199
/* Try to decrypt */
72007200
key = getVALUE(session, cipherKeyObject, &key_len_ul);
7201-
key_len = key_len_ul;
7201+
key_len = (int)key_len_ul;
72027202
if (key == NULL) {
72037203
fprintf(stderr, "Could not get unwrapped key\n");
72047204
return 1;

0 commit comments

Comments
 (0)