google / pkcs11test

PKCS#11 Test Suite
Apache License 2.0
75 stars 51 forks source link

WrapUnwrap - Wrong key type set used #56

Closed metekesler closed 3 years ago

metekesler commented 3 years ago

Incorrect key type assigned in test. DES3 object was created but wrong type was given in UnwrapKey operation.

key.cc - Line : 137 -CK_KEY_TYPE key_type = CKK_DES; +CK_KEY_TYPE key_type = CKK_DES3;

daviddrysdale commented 3 years ago

Yeah, looks like that was missed in #35 – could you send a PR please?