diff options
author | beck <> | 2023-07-08 10:44:00 +0000 |
---|---|---|
committer | beck <> | 2023-07-08 10:44:00 +0000 |
commit | 54e4324e827ac7cd7df64ffc8abbc44b8421b372 (patch) | |
tree | ddfc350f4441a2d4dfaa8b6f20f83e6cabdf712e /src/lib/libcrypto/ocsp/ocsp_ht.c | |
parent | 62076bba7c620e3ba9d5e1eb92934c369465834b (diff) | |
download | openbsd-54e4324e827ac7cd7df64ffc8abbc44b8421b372.tar.gz openbsd-54e4324e827ac7cd7df64ffc8abbc44b8421b372.tar.bz2 openbsd-54e4324e827ac7cd7df64ffc8abbc44b8421b372.zip |
Hide symbols in cast, idea, and ocsp
ok tb@
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_ht.c')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_ht.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_ht.c b/src/lib/libcrypto/ocsp/ocsp_ht.c index 255f890397..bf735c72a2 100644 --- a/src/lib/libcrypto/ocsp/ocsp_ht.c +++ b/src/lib/libcrypto/ocsp/ocsp_ht.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ocsp_ht.c,v 1.25 2018/05/13 10:42:03 tb Exp $ */ | 1 | /* $OpenBSD: ocsp_ht.c,v 1.26 2023/07/08 10:44:00 beck Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -115,6 +115,7 @@ OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx) | |||
115 | free(rctx->iobuf); | 115 | free(rctx->iobuf); |
116 | free(rctx); | 116 | free(rctx); |
117 | } | 117 | } |
118 | LCRYPTO_ALIAS(OCSP_REQ_CTX_free); | ||
118 | 119 | ||
119 | int | 120 | int |
120 | OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req) | 121 | OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req) |
@@ -128,6 +129,7 @@ OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, OCSP_REQUEST *req) | |||
128 | rctx->asn1_len = BIO_get_mem_data(rctx->mem, NULL); | 129 | rctx->asn1_len = BIO_get_mem_data(rctx->mem, NULL); |
129 | return 1; | 130 | return 1; |
130 | } | 131 | } |
132 | LCRYPTO_ALIAS(OCSP_REQ_CTX_set1_req); | ||
131 | 133 | ||
132 | int | 134 | int |
133 | OCSP_REQ_CTX_add1_header(OCSP_REQ_CTX *rctx, const char *name, | 135 | OCSP_REQ_CTX_add1_header(OCSP_REQ_CTX *rctx, const char *name, |
@@ -147,6 +149,7 @@ OCSP_REQ_CTX_add1_header(OCSP_REQ_CTX *rctx, const char *name, | |||
147 | return 0; | 149 | return 0; |
148 | return 1; | 150 | return 1; |
149 | } | 151 | } |
152 | LCRYPTO_ALIAS(OCSP_REQ_CTX_add1_header); | ||
150 | 153 | ||
151 | OCSP_REQ_CTX * | 154 | OCSP_REQ_CTX * |
152 | OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req, int maxline) | 155 | OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req, int maxline) |
@@ -192,6 +195,7 @@ OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req, int maxline) | |||
192 | 195 | ||
193 | return rctx; | 196 | return rctx; |
194 | } | 197 | } |
198 | LCRYPTO_ALIAS(OCSP_sendreq_new); | ||
195 | 199 | ||
196 | /* Parse the HTTP response. This will look like this: | 200 | /* Parse the HTTP response. This will look like this: |
197 | * "HTTP/1.0 200 OK". We need to obtain the numeric code and | 201 | * "HTTP/1.0 200 OK". We need to obtain the numeric code and |
@@ -437,6 +441,7 @@ next_line: | |||
437 | 441 | ||
438 | return 0; | 442 | return 0; |
439 | } | 443 | } |
444 | LCRYPTO_ALIAS(OCSP_sendreq_nbio); | ||
440 | 445 | ||
441 | /* Blocking OCSP request handler: now a special case of non-blocking I/O */ | 446 | /* Blocking OCSP request handler: now a special case of non-blocking I/O */ |
442 | OCSP_RESPONSE * | 447 | OCSP_RESPONSE * |
@@ -461,3 +466,4 @@ OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req) | |||
461 | 466 | ||
462 | return NULL; | 467 | return NULL; |
463 | } | 468 | } |
469 | LCRYPTO_ALIAS(OCSP_sendreq_bio); | ||