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:
parent
ce51dac5e9
commit
6e29c9f599
|
@ -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)
|
else if (data_len == 16 && rsa_outlen == 34 && memcmp(rsa_out + 18, data, 16) == 0)
|
||||||
rv = CKR_OK;
|
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;
|
rv = CKR_OK;
|
||||||
else
|
else
|
||||||
rv = CKR_SIGNATURE_INVALID;
|
rv = CKR_SIGNATURE_INVALID;
|
||||||
|
|
Loading…
Reference in New Issue