summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/KM_prng.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/KM_prng.cpp b/src/KM_prng.cpp
index 43f632b..f40d846 100755
--- a/src/KM_prng.cpp
+++ b/src/KM_prng.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2006-2009, John Hurst
+Copyright (c) 2006-2021, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -37,11 +37,11 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <string.h>
#include <assert.h>
-#define ENABLE_FIPS_186
-#ifdef ENABLE_FIPS_186
-#include <openssl/sha.h>
-#include <openssl/bn.h>
-#endif // ENABLE_FIPS_186
+#ifdef HAVE_OPENSSL
+# define ENABLE_FIPS_186
+# include <openssl/sha.h>
+# include <openssl/bn.h>
+#endif // HAVE_OPENSSL
using namespace Kumu;