diff options
| author | beck <> | 2023-07-08 07:22:58 +0000 |
|---|---|---|
| committer | beck <> | 2023-07-08 07:22:58 +0000 |
| commit | 76f3e45e5e334b3d6431f9c0e76ac816fc551075 (patch) | |
| tree | 0dd34e85f663bac5c9beff861c8387172d9ea94f /src/lib/libcrypto/ct/ct_oct.c | |
| parent | 690a2d7bb2ae49af3eba452cabf6daa1c05c5468 (diff) | |
| download | openbsd-76f3e45e5e334b3d6431f9c0e76ac816fc551075.tar.gz openbsd-76f3e45e5e334b3d6431f9c0e76ac816fc551075.tar.bz2 openbsd-76f3e45e5e334b3d6431f9c0e76ac816fc551075.zip | |
Hide symbols in dso and ct
ok jsing@
Diffstat (limited to 'src/lib/libcrypto/ct/ct_oct.c')
| -rw-r--r-- | src/lib/libcrypto/ct/ct_oct.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ct/ct_oct.c b/src/lib/libcrypto/ct/ct_oct.c index 94e67c6bc3..1f5e5c75d0 100644 --- a/src/lib/libcrypto/ct/ct_oct.c +++ b/src/lib/libcrypto/ct/ct_oct.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ct_oct.c,v 1.8 2021/12/20 17:23:07 jsing Exp $ */ | 1 | /* $OpenBSD: ct_oct.c,v 1.9 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. |
| @@ -208,6 +208,7 @@ o2i_SCT(SCT **psct, const unsigned char **in, size_t len) | |||
| 208 | 208 | ||
| 209 | return sct; | 209 | return sct; |
| 210 | } | 210 | } |
| 211 | LCRYPTO_ALIAS(o2i_SCT); | ||
| 211 | 212 | ||
| 212 | int | 213 | int |
| 213 | i2o_SCT_signature(const SCT *sct, unsigned char **out) | 214 | i2o_SCT_signature(const SCT *sct, unsigned char **out) |
| @@ -314,6 +315,7 @@ i2o_SCT(const SCT *sct, unsigned char **out) | |||
| 314 | free(pstart); | 315 | free(pstart); |
| 315 | return -1; | 316 | return -1; |
| 316 | } | 317 | } |
| 318 | LCRYPTO_ALIAS(i2o_SCT); | ||
| 317 | 319 | ||
| 318 | STACK_OF(SCT) * | 320 | STACK_OF(SCT) * |
| 319 | o2i_SCT_LIST(STACK_OF(SCT) **out_scts, const unsigned char **pp, size_t len) | 321 | o2i_SCT_LIST(STACK_OF(SCT) **out_scts, const unsigned char **pp, size_t len) |
| @@ -366,6 +368,7 @@ o2i_SCT_LIST(STACK_OF(SCT) **out_scts, const unsigned char **pp, size_t len) | |||
| 366 | 368 | ||
| 367 | return NULL; | 369 | return NULL; |
| 368 | } | 370 | } |
| 371 | LCRYPTO_ALIAS(o2i_SCT_LIST); | ||
| 369 | 372 | ||
| 370 | int | 373 | int |
| 371 | i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp) | 374 | i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp) |
| @@ -422,6 +425,7 @@ i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp) | |||
| 422 | } | 425 | } |
| 423 | return -1; | 426 | return -1; |
| 424 | } | 427 | } |
| 428 | LCRYPTO_ALIAS(i2o_SCT_LIST); | ||
| 425 | 429 | ||
| 426 | STACK_OF(SCT) * | 430 | STACK_OF(SCT) * |
| 427 | d2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp, long len) | 431 | d2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp, long len) |
| @@ -441,6 +445,7 @@ d2i_SCT_LIST(STACK_OF(SCT) **a, const unsigned char **pp, long len) | |||
| 441 | ASN1_OCTET_STRING_free(oct); | 445 | ASN1_OCTET_STRING_free(oct); |
| 442 | return sk; | 446 | return sk; |
| 443 | } | 447 | } |
| 448 | LCRYPTO_ALIAS(d2i_SCT_LIST); | ||
| 444 | 449 | ||
| 445 | int | 450 | int |
| 446 | i2d_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **out) | 451 | i2d_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **out) |
| @@ -456,3 +461,4 @@ i2d_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **out) | |||
| 456 | free(oct.data); | 461 | free(oct.data); |
| 457 | return len; | 462 | return len; |
| 458 | } | 463 | } |
| 464 | LCRYPTO_ALIAS(i2d_SCT_LIST); | ||
