projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move DSA_sign, DSA_verify to dsa_asn1.c and include separate versions of
[oweals/openssl.git]
/
test
/
treq.com
diff --git
a/test/treq.com
b/test/treq.com
index 9eb1d26f6e33fda51112b3b44a9e18e413f31f78..d2594be6a7ec5f2066f7ca6f38cfd0e065075f68 100644
(file)
--- a/
test/treq.com
+++ b/
test/treq.com
@@
-1,7
+1,9
@@
$! TREQ.COM -- Tests req keys
$
$ __arch := VAX
$! TREQ.COM -- Tests req keys
$
$ __arch := VAX
-$ if f$getsyi("cpu") .ge. 128 then __arch := AXP
+$ if f$getsyi("cpu") .ge. 128 then -
+ __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
+$ if __arch .eqs. "" then __arch := UNK
$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
$
$ cmd := mcr 'exe_dir'openssl req -config [-.apps]openssl-vms.cnf
$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
$
$ cmd := mcr 'exe_dir'openssl req -config [-.apps]openssl-vms.cnf
@@
-10,7
+12,12
@@
$ t := testreq.pem
$ if p1 .nes. "" then t = p1
$
$ write sys$output "testing req conversions"
$ if p1 .nes. "" then t = p1
$
$ write sys$output "testing req conversions"
-$ copy 't' fff.p
+$ if f$search("fff.*") .nes "" then delete fff.*;*
+$ if f$search("ff.*") .nes "" then delete ff.*;*
+$ if f$search("f.*") .nes "" then delete f.*;*
+$ convert/fdl=sys$input: 't' fff.p
+RECORD
+ FORMAT STREAM_LF
$
$ write sys$output "p -> d"
$ 'cmd' -in fff.p -inform p -outform d -out f.d
$
$ write sys$output "p -> d"
$ 'cmd' -in fff.p -inform p -outform d -out f.d
@@
-52,27
+59,27
@@
$ write sys$output "p -> p"
$ 'cmd' -in f.p -inform p -outform p -out ff.p3
$ if $severity .ne. 1 then exit 3
$
$ 'cmd' -in f.p -inform p -outform p -out ff.p3
$ if $severity .ne. 1 then exit 3
$
-$
difference/output=nl:
fff.p f.p
+$
backup/compare
fff.p f.p
$ if $severity .ne. 1 then exit 3
$ if $severity .ne. 1 then exit 3
-$
difference/output=nl:
fff.p ff.p1
+$
backup/compare
fff.p ff.p1
$ if $severity .ne. 1 then exit 3
$ if $severity .ne. 1 then exit 3
-$!
difference/output=nl:
fff.p ff.p2
+$!
backup/compare
fff.p ff.p2
$! if $severity .ne. 1 then exit 3
$! if $severity .ne. 1 then exit 3
-$
difference/output=nl:
fff.p ff.p3
+$
backup/compare
fff.p ff.p3
$ if $severity .ne. 1 then exit 3
$
$ if $severity .ne. 1 then exit 3
$
-$!
difference/output=nl:
f.t ff.t1
+$!
backup/compare
f.t ff.t1
$! if $severity .ne. 1 then exit 3
$! if $severity .ne. 1 then exit 3
-$!
difference/output=nl:
f.t ff.t2
+$!
backup/compare
f.t ff.t2
$! if $severity .ne. 1 then exit 3
$! if $severity .ne. 1 then exit 3
-$!
difference/output=nl:
f.t ff.t3
+$!
backup/compare
f.t ff.t3
$! if $severity .ne. 1 then exit 3
$
$! if $severity .ne. 1 then exit 3
$
-$
difference/output=nl:
f.p ff.p1
+$
backup/compare
f.p ff.p1
$ if $severity .ne. 1 then exit 3
$ if $severity .ne. 1 then exit 3
-$!
difference/output=nl:
f.p ff.p2
+$!
backup/compare
f.p ff.p2
$! if $severity .ne. 1 then exit 3
$! if $severity .ne. 1 then exit 3
-$
difference/output=nl:
f.p ff.p3
+$
backup/compare
f.p ff.p3
$ if $severity .ne. 1 then exit 3
$
$ delete f.*;*,ff.*;*,fff.*;*
$ if $severity .ne. 1 then exit 3
$
$ delete f.*;*,ff.*;*,fff.*;*