提交 9fc9b552 编写于 作者: R Richard Levitte

There are cases when there are no files left to verify. Make sure to

handle that properly.
上级 689c6f25
......@@ -15,12 +15,15 @@ $ f = f$search("[-.certs]*.pem")
$ if f .nes. "" .and. f .nes. old_f
$ then
$ certs = certs + " [-.certs]" + f$parse(f,,,"NAME") + ".pem"
$ if f$length(certs) .lt. 180 then goto loop_certs2
$ c := YES
$ if f$length(certs) .lt. 180 then goto loop_certs2
$ endif
$ certs = certs - " "
$
$ mcr 'exe_dir'openssl verify "-CAfile" certs.tmp 'certs'
$ if c then goto loop_certs
$ if c
$ then
$ mcr 'exe_dir'openssl verify "-CAfile" certs.tmp 'certs'
$ goto loop_certs
$ endif
$
$ delete certs.tmp;*
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册