aboutsummaryrefslogtreecommitdiffstats
path: root/scd/card-p15.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/card-p15.c')
-rw-r--r--scd/card-p15.c3
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);