commit | 0dd24e02ec85146660302a7bcc491a0515b983ae | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Sun Sep 04 19:59:26 2011 +1000 |
committer | Darren Tucker <dtucker@zip.com.au> | Sun Sep 04 19:59:26 2011 +1000 |
tree | bf27677f3f6f3a0db0327a0c5022643a3df8cd17 | |
parent | 6efd94f32e7ddf3cfdb94f0a3f91310304f8f6b5 [diff] [blame] |
- (dtucker) [ssh-keygen.c ssh-pkcs11.c] Bug #1929: add null implementations ofsh-pkcs11.cpkcs_init and pkcs_terminate for building without dlopen support.
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index 286c232..1f4c1c8 100644 --- a/ssh-pkcs11.c +++ b/ssh-pkcs11.c
@@ -590,4 +590,18 @@ return (-1); } +#else + +int +pkcs11_init(int interactive) +{ + return (0); +} + +void +pkcs11_terminate(void) +{ + return; +} + #endif /* ENABLE_PKCS11 */