diff options
| author | djm <> | 2008-09-06 12:15:53 +0000 |
|---|---|---|
| committer | djm <> | 2008-09-06 12:15:53 +0000 |
| commit | f69b11f62c3e6c9d4db22529933cf93b6301f7b1 (patch) | |
| tree | ec748bb51a7a2ac81befdc69d06cd4d45a476bd4 /src/lib/libcrypto/util/extract-section.pl | |
| parent | d5e315499a1ca7bacd7fc271e246a659969370e5 (diff) | |
| download | openbsd-f69b11f62c3e6c9d4db22529933cf93b6301f7b1.tar.gz openbsd-f69b11f62c3e6c9d4db22529933cf93b6301f7b1.tar.bz2 openbsd-f69b11f62c3e6c9d4db22529933cf93b6301f7b1.zip | |
import of OpenSSL 0.9.8h
Diffstat (limited to 'src/lib/libcrypto/util/extract-section.pl')
| -rw-r--r-- | src/lib/libcrypto/util/extract-section.pl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/libcrypto/util/extract-section.pl b/src/lib/libcrypto/util/extract-section.pl new file mode 100644 index 0000000000..7a0ba4f69a --- /dev/null +++ b/src/lib/libcrypto/util/extract-section.pl | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #!/usr/bin/perl | ||
| 2 | |||
| 3 | while(<STDIN>) { | ||
| 4 | if (/=for\s+comment\s+openssl_manual_section:(\S+)/) | ||
| 5 | { | ||
| 6 | print "$1\n"; | ||
| 7 | exit 0; | ||
| 8 | } | ||
| 9 | } | ||
| 10 | |||
| 11 | print "$ARGV[0]\n"; | ||
| 12 | |||
