free hx509_verify_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15753 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -103,9 +103,12 @@ cms_verify_sd(int argc, char **argv)
|
||||
printf("signers:\n");
|
||||
hx509_certs_iter(signers, hx509_ci_print_names, stdout);
|
||||
|
||||
hx509_verify_destroy_ctx(ctx);
|
||||
|
||||
hx509_certs_free(&anchors);
|
||||
hx509_certs_free(&signers);
|
||||
|
||||
|
||||
_hx509_unmap_file(p, sz);
|
||||
|
||||
return 0;
|
||||
@@ -398,10 +401,13 @@ pcert_verify(int argc, char **argv)
|
||||
|
||||
ret = hx509_certs_iter(certs, verify_f, &v);
|
||||
|
||||
hx509_verify_destroy_ctx(ctx);
|
||||
|
||||
hx509_certs_free(&anchors);
|
||||
hx509_certs_free(&certs);
|
||||
hx509_certs_free(&chain);
|
||||
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user