use hx509_free_error_string

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22333 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-12-17 01:03:43 +00:00
parent c69e7f2ae1
commit 9266224639

View File

@@ -721,7 +721,7 @@ verify_f(hx509_context hxcontext, void *ctx, hx509_cert c)
if (ret) {
char *s = hx509_get_error_string(hxcontext, ret);
printf("verify_path: %s: %d\n", s, ret);
free(s);
hx509_free_error_string(s);
v->errors++;
} else
printf("path ok\n");
@@ -1002,7 +1002,7 @@ verify_o(hx509_context hxcontext, void *ctx, hx509_cert c)
if (ret) {
char *s = hx509_get_error_string(hxcontext, ret);
printf("ocsp_verify: %s: %d\n", s, ret);
free(s);
hx509_free_error_string(s);
} else
printf("expire: %d\n", (int)expiration);