summaryrefslogtreecommitdiff
path: root/src/KM_prng.cpp
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2021-01-15 08:33:06 -0800
committerJohn Hurst <jhurst@cinecert.com>2021-01-15 08:33:06 -0800
commitb5e47e45509ce3a1a696ef06583ef86a5e1e8223 (patch)
tree401c07cac589c502ca3a3ff38064cfd3a21ba160 /src/KM_prng.cpp
parentf69df80edc00a138f50fd527706c78617342dcdd (diff)
Fixed lingering openssl build issue for autotools build
Diffstat (limited to 'src/KM_prng.cpp')
-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;