diff options
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_prn.c')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_prn.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_prn.c b/src/lib/libcrypto/ocsp/ocsp_prn.c index fecd14bbfd..7e3175b613 100644 --- a/src/lib/libcrypto/ocsp/ocsp_prn.c +++ b/src/lib/libcrypto/ocsp/ocsp_prn.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ocsp_prn.c,v 1.9 2022/01/07 09:45:52 tb Exp $ */ | 1 | /* $OpenBSD: ocsp_prn.c,v 1.10 2023/07/08 10:44:00 beck Exp $ */ |
2 | /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL | 2 | /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL |
3 | * project. */ | 3 | * project. */ |
4 | 4 | ||
@@ -114,6 +114,7 @@ OCSP_response_status_str(long s) | |||
114 | }; | 114 | }; |
115 | return table2string(s, rstat_tbl, 6); | 115 | return table2string(s, rstat_tbl, 6); |
116 | } | 116 | } |
117 | LCRYPTO_ALIAS(OCSP_response_status_str); | ||
117 | 118 | ||
118 | const char * | 119 | const char * |
119 | OCSP_cert_status_str(long s) | 120 | OCSP_cert_status_str(long s) |
@@ -125,6 +126,7 @@ OCSP_cert_status_str(long s) | |||
125 | }; | 126 | }; |
126 | return table2string(s, cstat_tbl, 3); | 127 | return table2string(s, cstat_tbl, 3); |
127 | } | 128 | } |
129 | LCRYPTO_ALIAS(OCSP_cert_status_str); | ||
128 | 130 | ||
129 | const char * | 131 | const char * |
130 | OCSP_crl_reason_str(long s) | 132 | OCSP_crl_reason_str(long s) |
@@ -141,6 +143,7 @@ OCSP_crl_reason_str(long s) | |||
141 | }; | 143 | }; |
142 | return table2string(s, reason_tbl, 8); | 144 | return table2string(s, reason_tbl, 8); |
143 | } | 145 | } |
146 | LCRYPTO_ALIAS(OCSP_crl_reason_str); | ||
144 | 147 | ||
145 | int | 148 | int |
146 | OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST* o, unsigned long flags) | 149 | OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST* o, unsigned long flags) |
@@ -192,6 +195,7 @@ OCSP_REQUEST_print(BIO *bp, OCSP_REQUEST* o, unsigned long flags) | |||
192 | err: | 195 | err: |
193 | return 0; | 196 | return 0; |
194 | } | 197 | } |
198 | LCRYPTO_ALIAS(OCSP_REQUEST_print); | ||
195 | 199 | ||
196 | int | 200 | int |
197 | OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags) | 201 | OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags) |
@@ -312,3 +316,4 @@ err: | |||
312 | OCSP_BASICRESP_free(br); | 316 | OCSP_BASICRESP_free(br); |
313 | return ret; | 317 | return ret; |
314 | } | 318 | } |
319 | LCRYPTO_ALIAS(OCSP_RESPONSE_print); | ||