summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test/testgen.com
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/test/testgen.com')
-rw-r--r--src/lib/libssl/test/testgen.com22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/lib/libssl/test/testgen.com b/src/lib/libssl/test/testgen.com
index a4bc574bec..e076da2f30 100644
--- a/src/lib/libssl/test/testgen.com
+++ b/src/lib/libssl/test/testgen.com
@@ -1,14 +1,15 @@
1$! TETSGEN.COM 1$! TESTGEN.COM
2$ 2$
3$ __arch := VAX 3$ __arch = "VAX"
4$ if f$getsyi("cpu") .ge. 128 then - 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") 5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK 6$ if __arch .eqs. "" then __arch = "UNK"
7$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ if (p1 .eqs. 64) then __arch = __arch+ "_64"
8$ exe_dir = "sys$disk:[-.''__arch'.exe.apps]"
8$ 9$
9$ T := testcert 10$ T = "testcert"
10$ KEY = 512 11$ KEY = 512
11$ CA := [-.certs]testca.pem 12$ CA = "[-.certs]testca.pem"
12$ 13$
13$ set noon 14$ set noon
14$ if f$search(T+".1;*") .nes. "" then delete 'T'.1;* 15$ if f$search(T+".1;*") .nes. "" then delete 'T'.1;*
@@ -20,7 +21,8 @@ $ write sys$output "generating certificate request"
20$ 21$
21$ append/new nl: .rnd 22$ append/new nl: .rnd
22$ open/append random_file .rnd 23$ open/append random_file .rnd
23$ write random_file "string to make the random number generator think it has entropy" 24$ write random_file -
25 "string to make the random number generator think it has entropy"
24$ close random_file 26$ close random_file
25$ 27$
26$ set noon 28$ set noon
@@ -33,8 +35,10 @@ $ then
33$ req_new="-newkey dsa:[-.apps]dsa512.pem" 35$ req_new="-newkey dsa:[-.apps]dsa512.pem"
34$ else 36$ else
35$ req_new="-new" 37$ req_new="-new"
36$ write sys$output "There should be a 2 sequences of .'s and some +'s." 38$ write sys$output -
37$ write sys$output "There should not be more that at most 80 per line" 39 "There should be a 2 sequences of .'s and some +'s."
40$ write sys$output -
41 "There should not be more that at most 80 per line"
38$ endif 42$ endif
39$ 43$
40$ write sys$output "This could take some time." 44$ write sys$output "This could take some time."