lib/hx509: hxtool test_crypto destroy 'vctx'

call hx509_verify_destroy_ctx to free 'vctx'

Change-Id: I4125a46760b8b988a63fb8d96d91a4a8b948b606
This commit is contained in:
Jeffrey Altman
2022-01-16 22:11:28 -05:00
parent 53e0b5448e
commit a73c45bef1

View File

@@ -2424,6 +2424,7 @@ test_crypto(struct test_crypto_options *opt, int argc, char ** argv)
hx509_err(context, 1, ret, "hx509_cert_iter");
hx509_certs_free(&certs);
hx509_verify_destroy_ctx(vctx);
return 0;
}