From faa90deef44cd45736a9b016f40c008def6018ba Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Tue, 25 Oct 2022 23:34:34 -0500 Subject: [PATCH] Rename slurp_directive_file to slurp_clearsigned_message --- gatekeeper.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gatekeeper.pl b/gatekeeper.pl index 89a95c8..ddd50a1 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -902,7 +902,7 @@ sub read_directive_from_string { return $records; } -=item $text = slurp_directive_file ( $filename ) +=item $text = slurp_clearsigned_message ( $filename ) Read the first PGP-clearsigned message from the file FILENAME and return it, complete with all headers and the full signature block. @@ -911,7 +911,7 @@ The returned string is tainted. =cut -sub slurp_directive_file { +sub slurp_clearsigned_message { my $filename = shift; local *_; @@ -1817,7 +1817,7 @@ sub read_directive_file { die "uploaded file name does not match stem" unless $directive_only || $uploaded_file eq $stem; - my $directive_file_contents = slurp_directive_file($directive_file); + my $directive_file_contents = slurp_clearsigned_message($directive_file); my $directive = read_directive_from_string($directive_file_contents); if ($directive_file_contents eq '') { -- 2.25.1