Fixed a typo

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1334 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aet 2003-08-06 07:36:38 +00:00
parent ce51dac5e9
commit 6e29c9f599
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ CK_RV sc_pkcs11_verify_data(unsigned char *pubkey, int pubkey_len,
*/
else if (data_len == 16 && rsa_outlen == 34 && memcmp(rsa_out + 18, data, 16) == 0)
rv = CKR_OK;
else if (data_len = 20 && rsa_outlen == 35 && memcmp(rsa_out + 15, data, 20) == 0)
else if (data_len == 20 && rsa_outlen == 35 && memcmp(rsa_out + 15, data, 20) == 0)
rv = CKR_OK;
else
rv = CKR_SIGNATURE_INVALID;