diff options
author | afresh1 <> | 2014-04-17 19:20:52 +0000 |
---|---|---|
committer | afresh1 <> | 2014-04-17 19:20:52 +0000 |
commit | 2bb4d4ac7a2751306ac55c3ce2fe3af26d8ef965 (patch) | |
tree | 8bc06712ef3cbf999c98aaad3dbe7c906415d1ec /src/lib/libcrypto/util/err-ins.pl | |
parent | c11dca95113fafb94fe3b60390be510b2e8f85d5 (diff) | |
download | openbsd-2bb4d4ac7a2751306ac55c3ce2fe3af26d8ef965.tar.gz openbsd-2bb4d4ac7a2751306ac55c3ce2fe3af26d8ef965.tar.bz2 openbsd-2bb4d4ac7a2751306ac55c3ce2fe3af26d8ef965.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/err-ins.pl')
-rw-r--r-- | src/lib/libcrypto/util/err-ins.pl | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/lib/libcrypto/util/err-ins.pl b/src/lib/libcrypto/util/err-ins.pl deleted file mode 100644 index 31b70df8d0..0000000000 --- a/src/lib/libcrypto/util/err-ins.pl +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | #!/usr/local/bin/perl | ||
2 | # | ||
3 | # tack error codes onto the end of a file | ||
4 | # | ||
5 | |||
6 | open(ERR,$ARGV[0]) || die "unable to open error file '$ARGV[0]':$!\n"; | ||
7 | @err=<ERR>; | ||
8 | close(ERR); | ||
9 | |||
10 | open(IN,$ARGV[1]) || die "unable to open header file '$ARGV[1]':$!\n"; | ||
11 | |||
12 | @out=""; | ||
13 | while (<IN>) | ||
14 | { | ||
15 | push(@out,$_); | ||
16 | last if /BEGIN ERROR CODES/; | ||
17 | } | ||
18 | close(IN); | ||
19 | |||
20 | open(OUT,">$ARGV[1]") || die "unable to open header file '$ARGV[1]':$1\n"; | ||
21 | print OUT @out; | ||
22 | print OUT @err; | ||
23 | print OUT <<"EOF"; | ||
24 | |||
25 | #ifdef __cplusplus | ||
26 | } | ||
27 | #endif | ||
28 | #endif | ||
29 | |||
30 | EOF | ||
31 | close(OUT); | ||
32 | |||
33 | |||