aboutsummaryrefslogtreecommitdiff
path: root/pkcs11.c
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2011-05-31 16:59:30 +0200
committerDavid Sommerseth <davids@redhat.com>2011-05-31 23:44:49 +0200
commit05485d7f7733ba498262abc127795910fda0d0bb (patch)
tree4b4e24b4652ef2f370712abede2c45d55f22b708 /pkcs11.c
parentDon't define ENABLE_PUSH_PEER_INFO if SSL is not available (diff)
downloadopenvpn-05485d7f7733ba498262abc127795910fda0d0bb.tar.xz
Fix compiling issues with pkcs11 when --disable-management is configured
pkcs11.c seems to miss some header files which gets implicitly added when the management interface is enabled. Signed-off-by: David Sommerseth <davids@redhat.com> Tested-by: Mr Dash Four <mr.dash.four@googlemail.com> (cherry picked from commit efcdf594f81a6af34b72285c12bacbce35c14b2d)
Diffstat (limited to 'pkcs11.c')
-rw-r--r--pkcs11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkcs11.c b/pkcs11.c
index af781e0..9cf18e5 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -33,6 +33,8 @@
#include "manage.h"
#include "base64.h"
#include "pkcs11.h"
+#include "misc.h"
+#include "otime.h"
static
time_t