diff options
| author | afresh1 <> | 2014-04-17 19:20:52 +0000 |
|---|---|---|
| committer | afresh1 <> | 2014-04-17 19:20:52 +0000 |
| commit | b1775c75d1207b8470bc1541bd04c11166acda71 (patch) | |
| tree | 8bc06712ef3cbf999c98aaad3dbe7c906415d1ec /src/lib/libcrypto/util/dirname.pl | |
| parent | c8838e62c12af89dd57056dcfc906ccd79e3b110 (diff) | |
| download | openbsd-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/dirname.pl')
| -rw-r--r-- | src/lib/libcrypto/util/dirname.pl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/libcrypto/util/dirname.pl b/src/lib/libcrypto/util/dirname.pl deleted file mode 100644 index d7a66d96ac..0000000000 --- a/src/lib/libcrypto/util/dirname.pl +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | #!/usr/local/bin/perl | ||
| 2 | |||
| 3 | if ($#ARGV < 0) { | ||
| 4 | die "dirname.pl: too few arguments\n"; | ||
| 5 | } elsif ($#ARGV > 0) { | ||
| 6 | die "dirname.pl: too many arguments\n"; | ||
| 7 | } | ||
| 8 | |||
| 9 | my $d = $ARGV[0]; | ||
| 10 | |||
| 11 | if ($d =~ m|.*/.*|) { | ||
| 12 | $d =~ s|/[^/]*$||; | ||
| 13 | } else { | ||
| 14 | $d = "."; | ||
| 15 | } | ||
| 16 | |||
| 17 | print $d,"\n"; | ||
| 18 | exit(0); | ||
