OpenPGP: revert 7b4532736e
PKCS#15 spec v1.1 says: TokenInfo.version: This field contains the number of the particular version of this specification the application is based upon. For this version of this document, the value of version shall be 0 (v1). Thanks to Martin Paljak for the finding.
This commit is contained in:
parent
93cb77079b
commit
67136b1781
|
@ -175,7 +175,6 @@ sc_pkcs15emu_openpgp_init(sc_pkcs15_card_t *p15card)
|
|||
}
|
||||
}
|
||||
|
||||
p15card->tokeninfo->version = (card->type == SC_CARD_TYPE_OPENPGP_V2) ? 2 : 1;
|
||||
p15card->tokeninfo->flags = SC_PKCS15_TOKEN_PRN_GENERATION | SC_PKCS15_TOKEN_EID_COMPLIANT;
|
||||
|
||||
/* Extract preferred language */
|
||||
|
|
Loading…
Reference in New Issue