(hx509_verify_destroy_ctx): add

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15754 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-25 23:13:24 +00:00
parent b01e981819
commit 3acf98f2ca

View File

@@ -188,6 +188,13 @@ hx509_verify_init_ctx(hx509_verify_ctx *ctx)
return 0;
}
void
hx509_verify_destroy_ctx(hx509_verify_ctx ctx)
{
memset(ctx, 0, sizeof(*ctx));
free(ctx);
}
int
hx509_verify_attach_anchors(hx509_verify_ctx ctx, hx509_certs set)
{