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:
@@ -721,7 +721,7 @@ verify_f(hx509_context hxcontext, void *ctx, hx509_cert c)
|
|||||||
if (ret) {
|
if (ret) {
|
||||||
char *s = hx509_get_error_string(hxcontext, ret);
|
char *s = hx509_get_error_string(hxcontext, ret);
|
||||||
printf("verify_path: %s: %d\n", s, ret);
|
printf("verify_path: %s: %d\n", s, ret);
|
||||||
free(s);
|
hx509_free_error_string(s);
|
||||||
v->errors++;
|
v->errors++;
|
||||||
} else
|
} else
|
||||||
printf("path ok\n");
|
printf("path ok\n");
|
||||||
@@ -1002,7 +1002,7 @@ verify_o(hx509_context hxcontext, void *ctx, hx509_cert c)
|
|||||||
if (ret) {
|
if (ret) {
|
||||||
char *s = hx509_get_error_string(hxcontext, ret);
|
char *s = hx509_get_error_string(hxcontext, ret);
|
||||||
printf("ocsp_verify: %s: %d\n", s, ret);
|
printf("ocsp_verify: %s: %d\n", s, ret);
|
||||||
free(s);
|
hx509_free_error_string(s);
|
||||||
} else
|
} else
|
||||||
printf("expire: %d\n", (int)expiration);
|
printf("expire: %d\n", (int)expiration);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user