aboutsummaryrefslogtreecommitdiff
path: root/crypto/ct/ct_prn.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ct/ct_prn.c')
-rw-r--r--crypto/ct/ct_prn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/ct/ct_prn.c b/crypto/ct/ct_prn.c
index 73aba7e..3983c3c 100644
--- a/crypto/ct/ct_prn.c
+++ b/crypto/ct/ct_prn.c
@@ -107,6 +107,11 @@ void SCT_print(const SCT *sct, BIO *out, int indent)
BIO_printf(out, "v1 (0x0)");
+ if (sct->log != NULL) {
+ BIO_printf(out, "\n%*sLog : %s", indent + 4, "",
+ SCT_get0_log_name(sct));
+ }
+
BIO_printf(out, "\n%*sLog ID : ", indent + 4, "");
BIO_hex_string(out, indent + 16, 16, sct->log_id, sct->log_id_len);