diff options
author | Werner Koch <[email protected]> | 2002-03-28 11:43:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-03-28 11:43:24 +0000 |
commit | 0e44b06cc8a80c257a73e170631a7c3770266eb7 (patch) | |
tree | 426de69359c9b5cdd370ea3d90b48b1b190ddb9e /scd/card-p15.c | |
parent | * divert-scd.c (encode_md_for_card): Don't do the pkcs-1 padding, (diff) | |
download | gnupg-0e44b06cc8a80c257a73e170631a7c3770266eb7.tar.gz gnupg-0e44b06cc8a80c257a73e170631a7c3770266eb7.zip |
* card.c (card_open, card_close): Adjusted for changes in OpenSC.
Diffstat (limited to '')
-rw-r--r-- | scd/card-p15.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scd/card-p15.c b/scd/card-p15.c index 950508fdb..14a274480 100644 --- a/scd/card-p15.c +++ b/scd/card-p15.c @@ -262,8 +262,7 @@ p15_sign (CARD card, const char *keyidstr, int hashalgo, goto leave; } -/* cryptflags |= SC_PKCS15_HASH_SHA1; */ -/* cryptflags |= SC_PKCS15_PAD_PKCS1_V1_5; */ + cryptflags |= SC_ALGORITHM_RSA_PAD_PKCS1; outbuflen = 1024; outbuf = xtrymalloc (outbuflen); |