summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/util/extract-names.pl
diff options
context:
space:
mode:
authorafresh1 <>2014-04-17 19:20:52 +0000
committerafresh1 <>2014-04-17 19:20:52 +0000
commitb1775c75d1207b8470bc1541bd04c11166acda71 (patch)
tree8bc06712ef3cbf999c98aaad3dbe7c906415d1ec /src/lib/libcrypto/util/extract-names.pl
parentc8838e62c12af89dd57056dcfc906ccd79e3b110 (diff)
downloadopenbsd-b1775c75d1207b8470bc1541bd04c11166acda71.tar.gz
openbsd-b1775c75d1207b8470bc1541bd04c11166acda71.tar.bz2
openbsd-b1775c75d1207b8470bc1541bd04c11166acda71.zip
Remove unused ssl utils
This code is the reason perl has a name as a write only language. ok deraadt miod
Diffstat (limited to 'src/lib/libcrypto/util/extract-names.pl')
-rw-r--r--src/lib/libcrypto/util/extract-names.pl26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/lib/libcrypto/util/extract-names.pl b/src/lib/libcrypto/util/extract-names.pl
deleted file mode 100644
index 35bd6ed843..0000000000
--- a/src/lib/libcrypto/util/extract-names.pl
+++ /dev/null
@@ -1,26 +0,0 @@
1#!/usr/bin/perl
2
3$/ = ""; # Eat a paragraph at once.
4while(<STDIN>) {
5 chop;
6 s/\n/ /gm;
7 if (/^=head1 /) {
8 $name = 0;
9 } elsif ($name) {
10 if (/ - /) {
11 s/ - .*//;
12 s/,\s+/,/g;
13 s/\s+,/,/g;
14 s/^\s+//g;
15 s/\s+$//g;
16 s/\s/_/g;
17 push @words, split ',';
18 }
19 }
20 if (/^=head1 *NAME *$/) {
21 $name = 1;
22 }
23}
24
25print join("\n", @words),"\n";
26