summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-04-15 16:29:44 +0000
committerRichard Levitte <levitte@openssl.org>2004-04-15 16:29:44 +0000
commit93dcdddbfd5c4ddb6eb5302ff835a986ba783d01 (patch)
tree2037fb560f53eb4bcd5be911f1fb0f38aa96a8f6
parentf291e0eb324d77764daf2a752ce8d84ac54a6b0d (diff)
downloadopenssl-new-93dcdddbfd5c4ddb6eb5302ff835a986ba783d01.tar.gz
Some platforms (Win32, it seems) do not have PATH_MAX, so let's define
it with a generic value (1024) if it isn't already defined.
-rw-r--r--fips/fingerprint.sha12
-rw-r--r--fips/fips.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/fips/fingerprint.sha1 b/fips/fingerprint.sha1
index a0e87dfc4c..7c18824a10 100644
--- a/fips/fingerprint.sha1
+++ b/fips/fingerprint.sha1
@@ -1,4 +1,4 @@
-HMAC-SHA1(fips.c)= 28c5bb3a276b1536327eb61b496b8c02a574c279
+HMAC-SHA1(fips.c)= 694287eefbf2d0a4fe1e4abc6c4f485375598e3a
HMAC-SHA1(fips_err_wrapper.c)= d3e2be316062510312269e98f964cb87e7577898
HMAC-SHA1(fips.h)= aeab7ad3b7a84dc83cf5099cffdec07a3f995dea
HMAC-SHA1(fips_err.h)= f4203a47100a815c21cf3a97092f91a595938f7c
diff --git a/fips/fips.c b/fips/fips.c
index d0a432f568..f802130ef7 100644
--- a/fips/fips.c
+++ b/fips/fips.c
@@ -59,6 +59,10 @@
#ifdef OPENSSL_FIPS
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
int FIPS_md5_allowed;
int FIPS_selftest_fail;