(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:
@@ -188,6 +188,13 @@ hx509_verify_init_ctx(hx509_verify_ctx *ctx)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
hx509_verify_destroy_ctx(hx509_verify_ctx ctx)
|
||||||
|
{
|
||||||
|
memset(ctx, 0, sizeof(*ctx));
|
||||||
|
free(ctx);
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
hx509_verify_attach_anchors(hx509_verify_ctx ctx, hx509_certs set)
|
hx509_verify_attach_anchors(hx509_verify_ctx ctx, hx509_certs set)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user