add to changeset 3887

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3888 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
s 2009-12-08 18:34:55 +00:00
parent 425ec51f78
commit 781c3c0fff
1 changed files with 1 additions and 1 deletions

View File

@ -1637,7 +1637,7 @@ static CK_RV pkcs15_gen_keypair(struct sc_pkcs11_card *p11card,
&keytype, NULL);
if (rv != CKR_OK && pMechanism->mechanism == CKM_RSA_PKCS_KEY_PAIR_GEN)
keytype = CKK_RSA;
else
else if (rv != CKR_OK)
goto kpgen_done;
if (keytype == CKK_GOSTR3410)
{