3 if test "$OSTYPE" = msdosdjgpp; then
10 if ../apps/openssl no-rsa; then
11 echo skipping rsa conversion test
15 cmd='../apps/openssl rsa'
17 if [ "$1"x != "x" ]; then
23 echo testing rsa conversions
27 $cmd -in fff.p -inform p -outform d >f.d
28 if [ $? != 0 ]; then exit 1; fi
30 #$cmd -in fff.p -inform p -outform t >f.t
31 #if [ $? != 0 ]; then exit 1; fi
33 $cmd -in fff.p -inform p -outform p >f.p
34 if [ $? != 0 ]; then exit 1; fi
37 $cmd -in f.d -inform d -outform d >ff.d1
38 if [ $? != 0 ]; then exit 1; fi
40 #$cmd -in f.t -inform t -outform d >ff.d2
41 #if [ $? != 0 ]; then exit 1; fi
43 $cmd -in f.p -inform p -outform d >ff.d3
44 if [ $? != 0 ]; then exit 1; fi
47 #$cmd -in f.d -inform d -outform t >ff.t1
48 #if [ $? != 0 ]; then exit 1; fi
50 #$cmd -in f.t -inform t -outform t >ff.t2
51 #if [ $? != 0 ]; then exit 1; fi
53 #$cmd -in f.p -inform p -outform t >ff.t3
54 #if [ $? != 0 ]; then exit 1; fi
57 $cmd -in f.d -inform d -outform p >ff.p1
58 if [ $? != 0 ]; then exit 1; fi
60 #$cmd -in f.t -inform t -outform p >ff.p2
61 #if [ $? != 0 ]; then exit 1; fi
63 $cmd -in f.p -inform p -outform p >ff.p3
64 if [ $? != 0 ]; then exit 1; fi
67 if [ $? != 0 ]; then exit 1; fi
69 if [ $? != 0 ]; then exit 1; fi
71 #if [ $? != 0 ]; then exit 1; fi
73 if [ $? != 0 ]; then exit 1; fi
76 #if [ $? != 0 ]; then exit 1; fi
78 #if [ $? != 0 ]; then exit 1; fi
80 #if [ $? != 0 ]; then exit 1; fi
83 if [ $? != 0 ]; then exit 1; fi
85 #if [ $? != 0 ]; then exit 1; fi
87 if [ $? != 0 ]; then exit 1; fi
89 /bin/rm -f f.* ff.* fff.*