summaryrefslogtreecommitdiff
path: root/ssh-pkcs11.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2011-09-04 19:59:26 +1000
committerDarren Tucker <dtucker@zip.com.au>2011-09-04 19:59:26 +1000
commit0dd24e02ec85146660302a7bcc491a0515b983ae (patch)
treebf27677f3f6f3a0db0327a0c5022643a3df8cd17 /ssh-pkcs11.c
parent6efd94f32e7ddf3cfdb94f0a3f91310304f8f6b5 (diff)
- (dtucker) [ssh-keygen.c ssh-pkcs11.c] Bug #1929: add null implementations
ofsh-pkcs11.cpkcs_init and pkcs_terminate for building without dlopen support.
Diffstat (limited to 'ssh-pkcs11.c')
-rw-r--r--ssh-pkcs11.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c
index 286c232c7..1f4c1c8e4 100644
--- a/ssh-pkcs11.c
+++ b/ssh-pkcs11.c
@@ -590,4 +590,18 @@ fail:
590 return (-1); 590 return (-1);
591} 591}
592 592
593#else
594
595int
596pkcs11_init(int interactive)
597{
598 return (0);
599}
600
601void
602pkcs11_terminate(void)
603{
604 return;
605}
606
593#endif /* ENABLE_PKCS11 */ 607#endif /* ENABLE_PKCS11 */