summaryrefslogtreecommitdiff
path: root/ssh-pkcs11.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-02-12 10:06:28 +1100
committerDamien Miller <djm@mindrot.org>2010-02-12 10:06:28 +1100
commitdfa4156dbd4aa45464b2ea6b867bcaa483bed134 (patch)
tree394b46c6292cf1b8cdc598c160a29fc4f755e1cc /ssh-pkcs11.c
parent8ad0fbd98e5ffd98c25f88881981336508ae90d7 (diff)
downloadopenssh-git-dfa4156dbd4aa45464b2ea6b867bcaa483bed134.tar.gz
- (djm) [ssh-pkcs11-client.c ssh-pkcs11-helper.c ssh-pkcs11.c]
Use ssh_get_progname to fill __progname
Diffstat (limited to 'ssh-pkcs11.c')
-rw-r--r--ssh-pkcs11.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c
index 2f6c9cec..821e9f84 100644
--- a/ssh-pkcs11.c
+++ b/ssh-pkcs11.c
@@ -16,6 +16,8 @@
#include "includes.h"
+#ifdef ENABLE_PKCS11
+
#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
@@ -548,3 +550,5 @@ fail:
dlclose(handle);
return (-1);
}
+
+#endif /* ENABLE_PKCS11 */