From 93dcdddbfd5c4ddb6eb5302ff835a986ba783d01 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 15 Apr 2004 16:29:44 +0000 Subject: [PATCH] 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. --- fips/fingerprint.sha1 | 2 +- fips/fips.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.25.1