projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't try to test the RSA command if it is not available.
[openssl.git]
/
test
/
testgen.com
diff --git
a/test/testgen.com
b/test/testgen.com
index c7a78f7637c7a1acc9521752c5567326eb68d9e7..0e9029371a33683a2e650659169271332530cf6f 100644
(file)
--- a/
test/testgen.com
+++ b/
test/testgen.com
@@
-9,7
+9,9
@@
$ KEY = 512
$ CA := [-.certs]testca.pem
$
$ set noon
$ CA := [-.certs]testca.pem
$
$ set noon
-$ delete 'T'.1;*,'T'.2;*,'T'.key;*
+$ if f$search(T+".1;*") .nes. "" then delete 'T'.1;*
+$ if f$search(T+".2;*") .nes. "" then delete 'T'.2;*
+$ if f$search(T+".key;*") .nes. "" then delete 'T'.key;*
$ set on
$
$ write sys$output "generating certificate request"
$ set on
$
$ write sys$output "generating certificate request"
@@
-18,6
+20,11
@@
$ write sys$output "There should be a 2 sequences of .'s and some +'s."
$ write sys$output "There should not be more that at most 80 per line"
$ write sys$output "This could take some time."
$
$ write sys$output "There should not be more that at most 80 per line"
$ write sys$output "This could take some time."
$
+$ append/new nl: .rnd
+$ open/append random_file .rnd
+$ write random_file "string to make the random number generator think it has entropy"
+$ close random_file
+$
$ mcr 'exe_dir'openssl req -config test.cnf -new -out testreq.pem
$ if $severity .ne. 1
$ then
$ mcr 'exe_dir'openssl req -config test.cnf -new -out testreq.pem
$ if $severity .ne. 1
$ then