Skip to content

Commit 0981d66

Browse files
committed
(rebase) fix bad args
1 parent 14ed487 commit 0981d66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wh_server_crypto.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,8 @@ int wh_Server_CmacKdfKeyCacheImport(whServerContext* ctx,
12081208
return WH_ERROR_BADARGS;
12091209
}
12101210

1211-
ret = wh_Server_KeystoreGetCacheSlot(ctx, keySize, &cacheBuf, &cacheMeta);
1211+
ret = wh_Server_KeystoreGetCacheSlot(ctx, keyId, keySize, &cacheBuf,
1212+
&cacheMeta);
12121213
if (ret == WH_ERROR_OK) {
12131214
memcpy(cacheBuf, keyData, keySize);
12141215
}

0 commit comments

Comments
 (0)