summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ct/ct_prn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ct/ct_prn.c')
-rw-r--r--src/lib/libcrypto/ct/ct_prn.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ct/ct_prn.c b/src/lib/libcrypto/ct/ct_prn.c
index ea4f3b2474..e6931eeb09 100644
--- a/src/lib/libcrypto/ct/ct_prn.c
+++ b/src/lib/libcrypto/ct/ct_prn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_prn.c,v 1.6 2021/12/18 16:34:52 tb Exp $ */ 1/* $OpenBSD: ct_prn.c,v 1.7 2023/07/08 07:22:58 beck Exp $ */
2/* 2/*
3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson 3 * Written by Rob Stradling (rob@comodo.com) and Stephen Henson
4 * (steve@openssl.org) for the OpenSSL project 2014. 4 * (steve@openssl.org) for the OpenSSL project 2014.
@@ -146,6 +146,7 @@ SCT_validation_status_string(const SCT *sct)
146 } 146 }
147 return "unknown status"; 147 return "unknown status";
148} 148}
149LCRYPTO_ALIAS(SCT_validation_status_string);
149 150
150void 151void
151SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *log_store) 152SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *log_store)
@@ -190,6 +191,7 @@ SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *log_store)
190 BIO_printf(out, "\n%*s ", indent + 4, ""); 191 BIO_printf(out, "\n%*s ", indent + 4, "");
191 BIO_hex_string(out, indent + 16, 16, sct->sig, sct->sig_len); 192 BIO_hex_string(out, indent + 16, 16, sct->sig, sct->sig_len);
192} 193}
194LCRYPTO_ALIAS(SCT_print);
193 195
194void 196void
195SCT_LIST_print(const STACK_OF(SCT) *sct_list, BIO *out, int indent, 197SCT_LIST_print(const STACK_OF(SCT) *sct_list, BIO *out, int indent,
@@ -206,3 +208,4 @@ SCT_LIST_print(const STACK_OF(SCT) *sct_list, BIO *out, int indent,
206 BIO_printf(out, "%s", separator); 208 BIO_printf(out, "%s", separator);
207 } 209 }
208} 210}
211LCRYPTO_ALIAS(SCT_LIST_print);