diff options
author | Rob Percival <robpercival@google.com> | 2016-02-25 13:33:48 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-01 11:59:28 -0500 |
commit | 8c6afbc55cc8e2d036c0af5adbaff82d8117c6b2 (patch) | |
tree | 29f5feb6cf77df46204d65a6dcb6e1af65aedb06 /crypto/ct/ct_prn.c | |
parent | 09375d12fb684c6991c06b473664a0630b8b2edf (diff) | |
download | openssl-8c6afbc55cc8e2d036c0af5adbaff82d8117c6b2.zip openssl-8c6afbc55cc8e2d036c0af5adbaff82d8117c6b2.tar.gz openssl-8c6afbc55cc8e2d036c0af5adbaff82d8117c6b2.tar.bz2 |
Verify SCT signatures
Tests included in future commit, which adds CT policy validation.
Reviewed-by: Ben Laurie <ben@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ct/ct_prn.c')
-rw-r--r-- | crypto/ct/ct_prn.c | 5 |
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); |