summaryrefslogtreecommitdiff
path: root/lib/fips.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-04 12:23:03 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-03-04 12:23:03 +0100
commita7383a87eb614f520275c9831587cdbab350dbbb (patch)
tree4f5323b0e80d7af3c6dcbdfa913dd351be4d31a2 /lib/fips.c
parent14b9265ee6904a0922bf5947dffb3d6b5c96a073 (diff)
downloadgnutls-a7383a87eb614f520275c9831587cdbab350dbbb.tar.gz
Changes to account for the reduced included gnulib
Diffstat (limited to 'lib/fips.c')
-rw-r--r--lib/fips.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/fips.c b/lib/fips.c
index f0848b50a4..4b383d274a 100644
--- a/lib/fips.c
+++ b/lib/fips.c
@@ -27,11 +27,12 @@
#include <fips.h>
#include <stdio.h>
#include <random.h>
-#include <dlfcn.h>
unsigned int _gnutls_lib_mode = LIB_STATE_POWERON;
#ifdef ENABLE_FIPS140
+#include <dlfcn.h>
+
#define FIPS_KERNEL_FILE "/proc/sys/crypto/fips_enabled"
#define FIPS_SYSTEM_FILE "/etc/system-fips"