Skip to content

Commit

Permalink
Disable unused inline/tslkey index hash functions (die if used)
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Mar 9, 2022
1 parent 507f96b commit ba29f5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions easytls
Original file line number Diff line number Diff line change
Expand Up @@ -2762,6 +2762,7 @@ inline_index_update ()
# Verify current inline-index hash
inline_index_verify_hash ()
{
# DISABLED
die "DISABLED inline_index_verify_hash"
[ -z "${inline_index_verify_hash_block}" ] || \
die "inline index verify hash must only run once"
Expand All @@ -2779,6 +2780,8 @@ inline_index_verify_hash ()
# Save new inline-index hash
inline_index_save_hash ()
{
# DISABLED
die "DISABLED inline_index_save_hash"
[ -z "${inline_index_save_hash_block}" ] || \
die "inline index save hash must only run once"
request_fixed_hash=1
Expand Down Expand Up @@ -3271,6 +3274,7 @@ tlskey_index_update ()
# Verify current tlskey-index hash
tlskey_index_verify_hash ()
{
# DISABLED
die "DISABLED tlskey_index_verify_hash"
[ -z "${tlskey_index_verify_hash_block}" ] || \
die "tlskey index verify hash must only run once"
Expand All @@ -3288,6 +3292,8 @@ tlskey_index_verify_hash ()
# Save tlskey-index hash
tlskey_index_save_hash ()
{
# DISABLED
die "DISABLED tlskey_index_save_hash"
[ -z "${tlskey_index_save_hash_block}" ] || \
die "tlskey index save hash must only run once"
request_fixed_hash=1
Expand Down

1 comment on commit ba29f5c

@TinCanTech
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.