gemsafe_flags2algref(): return 0x12 instead of 0x13 for

SC_ALGORITHM_RSA_PAD_PKCS1

thanks to Douglas E. Engert for the patch


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3301 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
ludovic.rousseau 2007-11-15 14:07:13 +00:00
parent 4bf320b304
commit 44b2d51385
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ static u8 gemsafe_flags2algref(const struct sc_security_env *env)
ret = 0x11;
} else if (env->operation == SC_SEC_OPERATION_DECIPHER) {
if (env->algorithm_flags & SC_ALGORITHM_RSA_PAD_PKCS1)
ret = 0x13;
ret = 0x12;
}
return ret;