From e99f6700e1bd1f1ce2e49a71404e21bdd0883876 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 7 Jun 2005 16:36:21 +0000 Subject: [PATCH] Simplified shortcut from FIPS_mode_set. --- fips/fips.h | 1 + fips/fipshashes.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fips/fips.h b/fips/fips.h index 98db0ed6dc..d6aa19ac91 100644 --- a/fips/fips.h +++ b/fips/fips.h @@ -58,6 +58,7 @@ extern "C" { struct dsa_st; int FIPS_mode_set(int onoff,const char *path); +#define FIPS_init(f) FIPS_mode_set((f),NULL) int FIPS_mode(void); const void *FIPS_rand_check(void); int FIPS_selftest_failed(void); diff --git a/fips/fipshashes.c b/fips/fipshashes.c index 079100858a..1b122ca8e1 100644 --- a/fips/fipshashes.c +++ b/fips/fipshashes.c @@ -1,7 +1,7 @@ const char * const FIPS_source_hashes[] = { "HMAC-SHA1(fips.c)= c5116c8f381d5981d840d240f66c8303b866f5f6", "HMAC-SHA1(fips_err_wrapper.c)= d3e2be316062510312269e98f964cb87e7577898", -"HMAC-SHA1(fips.h)= 23151c26e0c735c09b0f229a16a31235150b4ca4", +"HMAC-SHA1(fips.h)= c9f7bfc3cd78ef7bfcf863b92dcb6e477384e300", "HMAC-SHA1(fips_err.h)= 11cc657a0c7989efdeb28dd7c6b3941b1ad08c39", "HMAC-SHA1(aes/fips_aes_core.c)= b70bbbd675efe0613da0d57055310926a0104d55", "HMAC-SHA1(aes/asm/fips-ax86-elf.s)= f797b524a79196e7f59458a5b223432fcfd4a868", -- 2.25.1