6 if ../apps/openssl no-rsa; then
7 echo skipping rsa conversion test
11 cmd='../apps/openssl rsa'
13 if [ "$1"x != "x" ]; then
19 echo testing rsa conversions
23 $cmd -in fff.p -inform p -outform d >f.d
24 if [ $? != 0 ]; then exit 1; fi
26 #$cmd -in fff.p -inform p -outform t >f.t
27 #if [ $? != 0 ]; then exit 1; fi
29 $cmd -in fff.p -inform p -outform p >f.p
30 if [ $? != 0 ]; then exit 1; fi
33 $cmd -in f.d -inform d -outform d >ff.d1
34 if [ $? != 0 ]; then exit 1; fi
36 #$cmd -in f.t -inform t -outform d >ff.d2
37 #if [ $? != 0 ]; then exit 1; fi
39 $cmd -in f.p -inform p -outform d >ff.d3
40 if [ $? != 0 ]; then exit 1; fi
43 #$cmd -in f.d -inform d -outform t >ff.t1
44 #if [ $? != 0 ]; then exit 1; fi
46 #$cmd -in f.t -inform t -outform t >ff.t2
47 #if [ $? != 0 ]; then exit 1; fi
49 #$cmd -in f.p -inform p -outform t >ff.t3
50 #if [ $? != 0 ]; then exit 1; fi
53 $cmd -in f.d -inform d -outform p >ff.p1
54 if [ $? != 0 ]; then exit 1; fi
56 #$cmd -in f.t -inform t -outform p >ff.p2
57 #if [ $? != 0 ]; then exit 1; fi
59 $cmd -in f.p -inform p -outform p >ff.p3
60 if [ $? != 0 ]; then exit 1; fi
63 if [ $? != 0 ]; then exit 1; fi
65 if [ $? != 0 ]; then exit 1; fi
67 #if [ $? != 0 ]; then exit 1; fi
69 if [ $? != 0 ]; then exit 1; fi
72 #if [ $? != 0 ]; then exit 1; fi
74 #if [ $? != 0 ]; then exit 1; fi
76 #if [ $? != 0 ]; then exit 1; fi
79 if [ $? != 0 ]; then exit 1; fi
81 #if [ $? != 0 ]; then exit 1; fi
83 if [ $? != 0 ]; then exit 1; fi
85 /bin/rm -f f.* ff.* fff.*