summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/util
diff options
context:
space:
mode:
authormarkus <>2002-09-12 20:53:48 +0000
committermarkus <>2002-09-12 20:53:48 +0000
commitf8f1d7fabf136ce9810602509c477d2c42bf6d1c (patch)
tree79ba8d2f1eb402a8b47ada9aeb8f5572d97d1b65 /src/lib/libcrypto/util
parent2a6851ef8adb0e84ff2515493d3704a13c6256b0 (diff)
downloadopenbsd-f8f1d7fabf136ce9810602509c477d2c42bf6d1c.tar.gz
openbsd-f8f1d7fabf136ce9810602509c477d2c42bf6d1c.tar.bz2
openbsd-f8f1d7fabf136ce9810602509c477d2c42bf6d1c.zip
import openssl-0.9.7-stable-SNAP-20020911 (without idea)
Diffstat (limited to 'src/lib/libcrypto/util')
-rw-r--r--src/lib/libcrypto/util/libeay.num1
-rw-r--r--src/lib/libcrypto/util/pod2mantest22
2 files changed, 14 insertions, 9 deletions
diff --git a/src/lib/libcrypto/util/libeay.num b/src/lib/libcrypto/util/libeay.num
index 512185e257..7e5728495f 100644
--- a/src/lib/libcrypto/util/libeay.num
+++ b/src/lib/libcrypto/util/libeay.num
@@ -2792,3 +2792,4 @@ ASN1_UNIVERSALSTRING_it 3234 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIA
2792ASN1_UNIVERSALSTRING_it 3234 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: 2792ASN1_UNIVERSALSTRING_it 3234 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
2793d2i_ASN1_UNIVERSALSTRING 3235 EXIST::FUNCTION: 2793d2i_ASN1_UNIVERSALSTRING 3235 EXIST::FUNCTION:
2794EVP_des_ede3_ecb 3236 EXIST::FUNCTION:DES 2794EVP_des_ede3_ecb 3236 EXIST::FUNCTION:DES
2795X509_REQ_print_ex 3237 EXIST::FUNCTION:BIO
diff --git a/src/lib/libcrypto/util/pod2mantest b/src/lib/libcrypto/util/pod2mantest
index e01c6192a7..412ca8d6d8 100644
--- a/src/lib/libcrypto/util/pod2mantest
+++ b/src/lib/libcrypto/util/pod2mantest
@@ -12,7 +12,8 @@
12 12
13IFS=: 13IFS=:
14if test "$OSTYPE" = "msdosdjgpp"; then IFS=";"; fi 14if test "$OSTYPE" = "msdosdjgpp"; then IFS=";"; fi
15try_without_dir=false 15
16try_without_dir=true
16# First we try "pod2man", then "$dir/pod2man" for each item in $PATH. 17# First we try "pod2man", then "$dir/pod2man" for each item in $PATH.
17for dir in dummy${IFS}$PATH; do 18for dir in dummy${IFS}$PATH; do
18 if [ "$try_without_dir" = true ]; then 19 if [ "$try_without_dir" = true ]; then
@@ -30,9 +31,16 @@ for dir in dummy${IFS}$PATH; do
30 if [ ! "$pod2man" = '' ]; then 31 if [ ! "$pod2man" = '' ]; then
31 failure=none 32 failure=none
32 33
34 if "$pod2man" --section=1 --center=OpenSSL --release=dev pod2mantest.pod | fgrep OpenSSL >/dev/null; then
35 :
36 else
37 failure=BasicTest
38 fi
33 39
34 if "$pod2man" --section=1 --center=OpenSSL --release=dev pod2mantest.pod | grep '^MARKER - ' >/dev/null 2>&1; then 40 if [ "$failure" = none ]; then
35 failure=MultilineTest 41 if "$pod2man" --section=1 --center=OpenSSL --release=dev pod2mantest.pod | grep '^MARKER - ' >/dev/null; then
42 failure=MultilineTest
43 fi
36 fi 44 fi
37 45
38 46
@@ -46,9 +54,5 @@ for dir in dummy${IFS}$PATH; do
46done 54done
47 55
48echo "No working pod2man found. Consider installing a new version." >&2 56echo "No working pod2man found. Consider installing a new version." >&2
49if [ "$1" = ignore ]; then 57echo "As a workaround, we'll use a bundled old copy of pod2man.pl." >&2
50 echo "As a workaround, we'll use a bundled old copy of pod2man.pl." >&2 58echo "$1 ../../util/pod2man.pl"
51 echo "../../util/pod2man.pl"
52 exit 0
53fi
54exit 1