Simplified shortcut from FIPS_mode_set.
authorAndy Polyakov <appro@openssl.org>
Tue, 7 Jun 2005 16:36:21 +0000 (16:36 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 7 Jun 2005 16:36:21 +0000 (16:36 +0000)
fips/fips.h
fips/fipshashes.c

index 98db0ed6dc00613a43e74b28dd7029077ab66902..d6aa19ac91bb8236ba3c4854c1e486e5cc8c2d57 100644 (file)
@@ -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);
index 079100858ab973aa1c116ea8529b8f537f74deb6..1b122ca8e16da824133cb55326aa9fdd99e67640 100644 (file)
@@ -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",