--- openssh-3.6.1p1/scard-opensc.c	2002-04-23 14:48:46.000000000 +0200
+++ openssh-test/scard-opensc.c	2003-05-14 11:49:19.000000000 +0200
@@ -173,7 +173,8 @@
 	r = sc_prkey_op_init(rsa, &key_obj);
 	if (r)
 		return -1;
-	r = sc_pkcs15_decipher(p15card, key_obj, 0, from, flen, to, flen);
+	r = sc_pkcs15_decipher(p15card, key_obj, SC_ALGORITHM_RSA_PAD_PKCS1,
+			       from, flen, to, flen);
 	sc_unlock(card);
 	if (r < 0) {
 		error("sc_pkcs15_decipher() failed: %s", sc_strerror(r));
