Bugzilla – Attachment 2078 Details for
Bug 1929
ssh-keygen fails to build because PKCS11 is not available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add null implementations of pkcs11_init and pkcs_terminate
openssh-pkcs11-dlopen.patch (text/plain), 1.01 KB, created by
Darren Tucker
on 2011-09-04 19:30:30 AEST
(
hide
)
Description:
add null implementations of pkcs11_init and pkcs_terminate
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2011-09-04 19:30:30 AEST
Size:
1.01 KB
patch
obsolete
>Index: ssh-keygen.c >=================================================================== >RCS file: /home/dtucker/openssh/cvs/openssh/ssh-keygen.c,v >retrieving revision 1.227 >diff -u -p -r1.227 ssh-keygen.c >--- ssh-keygen.c 5 May 2011 04:17:19 -0000 1.227 >+++ ssh-keygen.c 4 Sep 2011 09:27:57 -0000 >@@ -49,10 +49,7 @@ > #include "hostfile.h" > #include "dns.h" > #include "ssh2.h" >- >-#ifdef ENABLE_PKCS11 > #include "ssh-pkcs11.h" >-#endif > > /* Number of bits in the RSA/DSA key. This value can be set on the command line. */ > #define DEFAULT_BITS 2048 >Index: ssh-pkcs11.c >=================================================================== >RCS file: /home/dtucker/openssh/cvs/openssh/ssh-pkcs11.c,v >retrieving revision 1.7 >diff -u -p -r1.7 ssh-pkcs11.c >--- ssh-pkcs11.c 25 Jun 2010 23:36:10 -0000 1.7 >+++ ssh-pkcs11.c 4 Sep 2011 09:25:28 -0000 >@@ -590,4 +590,18 @@ fail: > return (-1); > } > >+#else >+ >+int >+pkcs11_init(int interactive) >+{ >+ return (0); >+} >+ >+void >+pkcs11_terminate(void) >+{ >+ return; >+} >+ > #endif /* ENABLE_PKCS11 */
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
Flags:
djm
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1929
: 2078