Bugzilla – Attachment 312 Details for
Bug 577
bug (wrong flag) in sc_private_decrypt (scard-opensc.c)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the issue with the wrong sc_pkcs15_decrypt flag
scard-opensc.diff (text/plain), 476 bytes, created by
Nils Larsch
on 2003-05-27 22:51:19 AEST
(
hide
)
Description:
patch to fix the issue with the wrong sc_pkcs15_decrypt flag
Filename:
MIME Type:
Creator:
Nils Larsch
Created:
2003-05-27 22:51:19 AEST
Size:
476 bytes
patch
obsolete
>--- openssh/scard-opensc.c 2003-04-09 12:59:50.000000000 +0200 >+++ openssh-test/scard-opensc.c 2003-05-27 14:05:15.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));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 577
: 312