Add support for CKM_RSA_PKCS_OAEP in encrypt_decrypt(). fix mechanism value in call to util_fatal().

This commit is contained in:
alegon01 2019-02-01 11:19:33 +01:00
parent 968bfa8444
commit 16ca73ae40

View File

@ -5340,7 +5340,7 @@ static int encrypt_decrypt(CK_SESSION_HANDLE session,
mech.ulParameterLen = 0;
break;
default:
util_fatal("Mechanism %s illegal or not supported\n", p11_mechanism_to_name(opt_mechanism));
util_fatal("Mechanism %s illegal or not supported\n", p11_mechanism_to_name(mech_type));
}