From 0dd24e02ec85146660302a7bcc491a0515b983ae Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 4 Sep 2011 19:59:26 +1000 Subject: - (dtucker) [ssh-keygen.c ssh-pkcs11.c] Bug #1929: add null implementations ofsh-pkcs11.cpkcs_init and pkcs_terminate for building without dlopen support. --- ssh-pkcs11.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ssh-pkcs11.c') 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: return (-1); } +#else + +int +pkcs11_init(int interactive) +{ + return (0); +} + +void +pkcs11_terminate(void) +{ + return; +} + #endif /* ENABLE_PKCS11 */ -- cgit v1.2.3