return error

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15748 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-25 21:50:53 +00:00
parent 810020a64d
commit a856bf7a9d

View File

@@ -340,7 +340,7 @@ verify_f(void *ctx, hx509_cert c)
else
printf("path ok\n");
return 0;
return ret;
}
static int
@@ -396,13 +396,13 @@ pcert_verify(int argc, char **argv)
v.ctx = ctx;
v.chain = chain;
hx509_certs_iter(certs, verify_f, &v);
ret = hx509_certs_iter(certs, verify_f, &v);
hx509_certs_free(&anchors);
hx509_certs_free(&certs);
hx509_certs_free(&chain);
return 0;
return ret;
}
static int
@@ -506,5 +506,5 @@ main(int argc, char **argv)
if(ret == -1)
warnx ("unrecognized command: %s", argv[0]);
return 0;
return ret;
}