hx509: Build libhx509template and hxtool with it
This commit is contained in:
@@ -754,7 +754,6 @@ print_f(hx509_context hxcontext, void *ctx, hx509_cert cert)
|
||||
static int HX509_LIB_CALL
|
||||
print_fjson(hx509_context hxcontext, void *ctx, hx509_cert cert)
|
||||
{
|
||||
#ifdef ASN1_PRINTING_WORKS
|
||||
const Certificate *c = NULL;
|
||||
char *json = NULL;
|
||||
|
||||
@@ -767,10 +766,6 @@ print_fjson(hx509_context hxcontext, void *ctx, hx509_cert cert)
|
||||
hx509_err(context, 1, errno, "Could not format certificate as JSON");
|
||||
free(json);
|
||||
return 0;
|
||||
#else
|
||||
err(1, "JSON printing of certificates not supported; try enabling or "
|
||||
"not disabling ASN.1 templating in Heimdal build configuration");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user