diff options
author | Richard Levitte <levitte@openssl.org> | 2005-03-21 13:52:12 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2005-03-21 13:52:12 +0000 |
commit | 9fc9b55237d3f8abb0f0efb2bf26bc58bcd234bb (patch) | |
tree | 8f7805f3429730d03944f4f388357189094245ea /test | |
parent | 689c6f25425a83f13745680a0a73ea7b730450a1 (diff) |
There are cases when there are no files left to verify. Make sure to
handle that properly.
Diffstat (limited to 'test')
-rw-r--r-- | test/tverify.com | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/tverify.com b/test/tverify.com index f97e71478f..2060184d1e 100644 --- a/test/tverify.com +++ b/test/tverify.com @@ -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;* |