X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fverify.c;h=b03085bf87678c7f1aa4eabdbb9e52b22fb6d4cd;hp=bcca114efe4557675b6b4ed5c5b0cc483a5070ce;hb=e02614417d41380c7ccc612375352aac2fab079c;hpb=0090a686c0620e5f7d72aef2e74f4a0e01c53e3e diff --git a/apps/verify.c b/apps/verify.c index bcca114efe..b03085bf87 100644 --- a/apps/verify.c +++ b/apps/verify.c @@ -228,11 +228,19 @@ int MAIN(int argc, char **argv) if (crl_download) store_setup_crl_download(cert_ctx); - if (argc < 1) check(cert_ctx, NULL, untrusted, trusted, crls, e); + ret=0; + if (argc < 1) + { + if (1 != check(cert_ctx, NULL, untrusted, trusted, crls, e)) + ret=-1; + } else + { for (i=0; i