alias RSA type, call openssl functions only in openssl_utils.c

This commit is contained in:
Hannes Mehnert
2017-03-29 23:01:17 +01:00
parent 847b0b4267
commit 03849d9722
6 changed files with 30 additions and 25 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ CK_RV apply_sign_mechanism_finalize(op_info_t *op_info) {
// Compute padding for all PSS variants
// TODO: digestinfo/paraminfo ?
rv = do_pkcs_pss(op_info->op.sign.key, op_info->buf, op_info->buf_len, nid, op_info->buf, &op_info->buf_len);
RSA_free(op_info->op.sign.key);
do_free_rsa_public_key(op_info->op.sign.key);
return rv;