From: Andy Polyakov Date: Tue, 14 Jun 2005 12:18:47 +0000 (+0000) Subject: Make human-readable error messages more human-friendly. X-Git-Tag: FIPS_TEST_10~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18f3210a353a2529f43a1dcf65ac3aa2b96084c3;p=oweals%2Fopenssl.git Make human-readable error messages more human-friendly. --- diff --git a/fips/fips_err.h b/fips/fips_err.h index d6cfb8321f..6839453fab 100644 --- a/fips/fips_err.h +++ b/fips/fips_err.h @@ -96,9 +96,9 @@ static ERR_STRING_DATA FIPS_str_functs[]= static ERR_STRING_DATA FIPS_str_reasons[]= { -{ERR_REASON(FIPS_R_CANNOT_READ_EXE) ,"cannot read exe"}, -{ERR_REASON(FIPS_R_CANNOT_READ_EXE_DIGEST),"cannot read exe digest"}, -{ERR_REASON(FIPS_R_EXE_DIGEST_DOES_NOT_MATCH),"exe digest does not match"}, +{ERR_REASON(FIPS_R_CANNOT_READ_EXE) ,"cannot access executable object"}, +{ERR_REASON(FIPS_R_CANNOT_READ_EXE_DIGEST),"cannot access detached digest"}, +{ERR_REASON(FIPS_R_EXE_DIGEST_DOES_NOT_MATCH),"detached digest verification failed"}, {ERR_REASON(FIPS_R_FIPS_MODE_ALREADY_SET),"fips mode already set"}, {ERR_REASON(FIPS_R_FIPS_SELFTEST_FAILED) ,"fips selftest failed"}, {ERR_REASON(FIPS_R_INVALID_KEY_LENGTH) ,"invalid key length"}, @@ -106,7 +106,7 @@ static ERR_STRING_DATA FIPS_str_reasons[]= {ERR_REASON(FIPS_R_NON_FIPS_METHOD) ,"non fips method"}, {ERR_REASON(FIPS_R_PAIRWISE_TEST_FAILED) ,"pairwise test failed"}, {ERR_REASON(FIPS_R_SELFTEST_FAILED) ,"selftest failed"}, -{ERR_REASON(FIPS_R_NO_DSO_PATH) ,"DSO can't be determined"}, +{ERR_REASON(FIPS_R_NO_DSO_PATH) ,"DSO path can't be determined"}, {0,NULL} }; diff --git a/fips/fipshashes.c b/fips/fipshashes.c index 0c7710d5dd..a9b141938c 100644 --- a/fips/fipshashes.c +++ b/fips/fipshashes.c @@ -2,7 +2,7 @@ const char * const FIPS_source_hashes[] = { "HMAC-SHA1(fips.c)= c5116c8f381d5981d840d240f66c8303b866f5f6", "HMAC-SHA1(fips_err_wrapper.c)= d3e2be316062510312269e98f964cb87e7577898", "HMAC-SHA1(fips.h)= c9f7bfc3cd78ef7bfcf863b92dcb6e477384e300", -"HMAC-SHA1(fips_err.h)= 11cc657a0c7989efdeb28dd7c6b3941b1ad08c39", +"HMAC-SHA1(fips_err.h)= f124e9f93777ca7f5bc6edd8323ffbb36625d40b", "HMAC-SHA1(aes/fips_aes_core.c)= b70bbbd675efe0613da0d57055310926a0104d55", "HMAC-SHA1(aes/asm/fips-ax86-elf.s)= f797b524a79196e7f59458a5b223432fcfd4a868", "HMAC-SHA1(aes/fips_aes_selftest.c)= 98b01502221e7fe529fd981222f2cbb52eb4cbe0",