OpenPGP: try to match flags with specification
Signed-off-by: Peter Marschall <peter@adpm.de> git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5470 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
e5bee33260
commit
61bbb0f904
|
@ -150,7 +150,9 @@ pgp_init(sc_card_t *card)
|
|||
card->cla = 0x00;
|
||||
|
||||
/* Is this correct? */
|
||||
/* OpenPGP card spec 1.1 & 2.0, section 2.1 */
|
||||
flags = SC_ALGORITHM_RSA_RAW;
|
||||
/* OpenPGP card spec 1.1 & 2.0, section 7.2.9 & 7.2.10 */
|
||||
flags |= SC_ALGORITHM_RSA_PAD_PKCS1;
|
||||
flags |= SC_ALGORITHM_RSA_HASH_NONE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue