Revision 7bc2aee4f196f9b049416dfb08fc3a271755c0d8 authored by Emilia Kasper on 12 May 2015, 17:00:30 UTC, committed by Matt Caswell on 11 June 2015, 13:52:39 UTC
CVE-2015-1790 Reviewed-by: Rich Salz <rsalz@openssl.org>
1 parent 9bc3665
extract-names.pl
#!/usr/bin/perl
$/ = ""; # Eat a paragraph at once.
while(<STDIN>) {
chop;
s/\n/ /gm;
if (/^=head1 /) {
$name = 0;
} elsif ($name) {
if (/ - /) {
s/ - .*//;
s/,\s+/,/g;
s/\s+,/,/g;
s/^\s+//g;
s/\s+$//g;
s/\s/_/g;
push @words, split ',';
}
}
if (/^=head1 *NAME *$/) {
$name = 1;
}
}
print join("\n", @words),"\n";

Computing file changes ...