projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have all algorithm test programs call fips_algtest_init() at startup:
[oweals/openssl.git]
/
test
/
testenc.com
diff --git
a/test/testenc.com
b/test/testenc.com
index 3b66f2e0d0614f5de4ac0a88b01094c8d69eda03..75acd6f07fa0bd44aa7ff7052633b6ab4135f0ab 100644
(file)
--- a/
test/testenc.com
+++ b/
test/testenc.com
@@
-1,15
+1,21
@@
$! TESTENC.COM -- Test encoding and decoding
$
$! TESTENC.COM -- Test encoding and decoding
$
-$ __arch := VAX
-$ if f$getsyi("cpu") .ge. 128 then __arch := AXP
-$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
+$ __arch = "VAX"
+$ if f$getsyi("cpu") .ge. 128 then -
+ __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
+$ if __arch .eqs. "" then __arch = "UNK"
+$!
+$ if (p1 .eqs. 64) then __arch = __arch+ "_64"
$
$
-$ testsrc := makefile.ssl
-$ test := p.txt
-$ cmd := mcr 'exe_dir'openssl
+$ exe_dir = "sys$disk:[-.''__arch'.exe.apps]"
+$ testsrc = "makefile."
+$ test = "p.txt"
+$ cmd = "mcr ''exe_dir'openssl"
$
$ if f$search(test) .nes. "" then delete 'test';*
$
$ if f$search(test) .nes. "" then delete 'test';*
-$ copy 'testsrc' 'test'
+$ convert/fdl=sys$input: 'testsrc' 'test'
+RECORD
+ FORMAT STREAM_LF
$
$ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;*
$ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;*
$
$ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;*
$ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;*