From 2cb0404bdc88684038b6ae8b9d80fb97df90834f Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Tue, 1 Mar 2022 18:10:08 +0000 Subject: [PATCH] Permanently disable save_file_hash() for EASYTLS_CONFIG_HASH Signed-off-by: Richard T Bonhomme --- easytls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easytls b/easytls index c705cb6..b42ae54 100755 --- a/easytls +++ b/easytls @@ -1401,6 +1401,7 @@ easytls_create_layout () } > "${EASYTLS_CONFIG_FILE}" || return 1 fi # Save HASH file + "${EASYTLS_PRINTF}" '%s' "${fixed_hash}" > "${EASYTLS_CONFIG_HASH}" config_save_hash || return 1 # Unset hash blocks because following operations make updates # EG: save_id() @@ -1689,7 +1690,6 @@ save_file_hash () # Also, put it last because it must remain on this list # Must be a valid target fle if \ - [ "${hash_file}" = "${EASYTLS_CONFIG_HASH}" ] || \ [ "${hash_file}" = "${EASYTLS_INLINE_X_HASH}" ] || \ [ "${hash_file}" = "${EASYTLS_KEY_X_HASH}" ] || \ [ "${hash_file}" = "${EASYTLS_FASTER_HASH}" ]; then