Make {i2v,v2i}_ASN1_BIT_STRING global.
[openssl.git] / test / treq
index 0464c9d902fb516bdfdeaae905f00f7e75ef7766..47a8273cde620d2b3d1485d7cf4417961420f7da 100644 (file)
--- a/test/treq
+++ b/test/treq
@@ -1,6 +1,10 @@
 #!/bin/sh
 
-PATH=../apps:$PATH
+if test "$OSTYPE" = msdosdjgpp; then
+    PATH=../apps\;$PATH
+else
+    PATH=../apps:$PATH
+fi
 export PATH
 
 cmd='../apps/openssl req -config ../apps/openssl.cnf'
@@ -11,6 +15,11 @@ else
        t=testreq.pem
 fi
 
+if $cmd -in $t -inform p -noout -text | fgrep 'Unknown Public Key'; then
+  echo "skipping req conversion test for $t"
+  exit 0
+fi
+
 echo testing req conversions
 cp $t fff.p