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.
=cut
-sub slurp_directive_file {
+sub slurp_clearsigned_message {
my $filename = shift;
local *_;
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 '') {