diff options
author | Darren Tucker <dtucker@zip.com.au> | 2011-09-04 11:59:26 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2011-09-04 11:59:26 +0200 |
commit | 0dd24e02ec85146660302a7bcc491a0515b983ae (patch) | |
tree | bf27677f3f6f3a0db0327a0c5022643a3df8cd17 /ssh-pkcs11.c | |
parent | - (djm) [regress/connect-privsep.sh regress/test-exec.sh] demote fatal (diff) | |
download | openssh-0dd24e02ec85146660302a7bcc491a0515b983ae.tar.xz openssh-0dd24e02ec85146660302a7bcc491a0515b983ae.zip |
- (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 '')
-rw-r--r-- | ssh-pkcs11.c | 14 |
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: return (-1); } +#else + +int +pkcs11_init(int interactive) +{ + return (0); +} + +void +pkcs11_terminate(void) +{ + return; +} + #endif /* ENABLE_PKCS11 */ |