summaryrefslogtreecommitdiff
path: root/ssh-pkcs11-helper.c
diff options
context:
space:
mode:
authordjm <djm>2010-03-13 21:37:49 +0000
committerdjm <djm>2010-03-13 21:37:49 +0000
commitcf19c248c2f70f51c9449cec7f1b1eb9a06d4e09 (patch)
tree14bf09a98c47728ad82a7c639127edb70cc55392 /ssh-pkcs11-helper.c
parentf3cfb587de0914a7c972e257bd9841aee65c2abd (diff)
downloadopenssh-cf19c248c2f70f51c9449cec7f1b1eb9a06d4e09.tar.gz
- (djm) [ssh-pkcs11-helper.c] Move #ifdef to after #defines to fix
compilation failure when !HAVE_DLOPEN. Reported by felix-mindrot AT fefe.de
Diffstat (limited to 'ssh-pkcs11-helper.c')
-rw-r--r--ssh-pkcs11-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c
index d3bfb983..8e3f57ac 100644
--- a/ssh-pkcs11-helper.c
+++ b/ssh-pkcs11-helper.c
@@ -17,8 +17,6 @@
#include "includes.h"
-#ifdef ENABLE_PKCS11
-
#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
@@ -39,6 +37,8 @@
#include "authfd.h"
#include "ssh-pkcs11.h"
+#ifdef ENABLE_PKCS11
+
/* borrows code from sftp-server and ssh-agent */
struct pkcs11_keyinfo {