P11_DEBUG_URI = 1 << 3,
P11_DEBUG_PROXY = 1 << 4,
P11_DEBUG_TRUST = 1 << 5,
+ P11_DEBUG_TOOL = 1 << 6,
};
extern int p11_debug_current_flags;
#include "config.h"
+#define P11_DEBUG_FLAG P11_DEBUG_TOOL
+
#include "compat.h"
#include "debug.h"
#include "extract.h"
pem = p11_pem_write (ex->cert_der, ex->cert_len, "CERTIFICATE", &length);
return_val_if_fail (pem != NULL, false);
+ p11_debug ("writing 'CERTIFICATE' PEM block of size %lu", (unsigned long)length);
ret = p11_save_write (file, pem, length);
free (pem);