summaryrefslogtreecommitdiff
path: root/lib/libssl/test/tverify.com
blob: 2060184d1efc4e3ba9c27159efbe3c003ea2d382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$! TVERIFY.COM
$
$	__arch := VAX
$	if f$getsyi("cpu") .ge. 128 then __arch := AXP
$	exe_dir := sys$disk:[-.'__arch'.exe.apps]
$
$	copy/concatenate [-.certs]*.pem certs.tmp
$
$	old_f :=
$ loop_certs:
$	c := NO
$	certs :=
$ loop_certs2:
$	f = f$search("[-.certs]*.pem")
$	if f .nes. "" .and. f .nes. old_f
$	then
$	    certs = certs + " [-.certs]" + f$parse(f,,,"NAME") + ".pem"
$	    c := YES
$	    if f$length(certs) .lt. 180 then goto loop_certs2
$	endif
$	certs = certs - " "
$
$	if c
$	then
$	    mcr 'exe_dir'openssl verify "-CAfile" certs.tmp 'certs'
$	    goto loop_certs
$	endif
$
$	delete certs.tmp;*