diff options
| author | beck <> | 2022-11-14 17:48:50 +0000 |
|---|---|---|
| committer | beck <> | 2022-11-14 17:48:50 +0000 |
| commit | 86ef9af254717a5620d93d1ebe06ab2ad9597496 (patch) | |
| tree | c42f727f8848b4a56e738422f26e8b44150174e4 /src/lib/libcrypto/x509/by_file.c | |
| parent | ee06865d71aaa04ea842bc01f03382ca41128858 (diff) | |
| download | openbsd-86ef9af254717a5620d93d1ebe06ab2ad9597496.tar.gz openbsd-86ef9af254717a5620d93d1ebe06ab2ad9597496.tar.bz2 openbsd-86ef9af254717a5620d93d1ebe06ab2ad9597496.zip | |
Hide public symbols in libcrypto/x509 .c files
ok tb@
Diffstat (limited to 'src/lib/libcrypto/x509/by_file.c')
| -rw-r--r-- | src/lib/libcrypto/x509/by_file.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/by_file.c b/src/lib/libcrypto/x509/by_file.c index 3116b7cf1e..747252d25b 100644 --- a/src/lib/libcrypto/x509/by_file.c +++ b/src/lib/libcrypto/x509/by_file.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: by_file.c,v 1.25 2021/11/10 13:57:42 schwarze Exp $ */ | 1 | /* $OpenBSD: by_file.c,v 1.26 2022/11/14 17:48:49 beck Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -89,6 +89,7 @@ X509_LOOKUP_file(void) | |||
| 89 | { | 89 | { |
| 90 | return &x509_file_lookup; | 90 | return &x509_file_lookup; |
| 91 | } | 91 | } |
| 92 | LCRYPTO_ALIAS(X509_LOOKUP_file) | ||
| 92 | 93 | ||
| 93 | static int | 94 | static int |
| 94 | by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, | 95 | by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, |
| @@ -173,6 +174,7 @@ err: | |||
| 173 | BIO_free(in); | 174 | BIO_free(in); |
| 174 | return ret; | 175 | return ret; |
| 175 | } | 176 | } |
| 177 | LCRYPTO_ALIAS(X509_load_cert_file) | ||
| 176 | 178 | ||
| 177 | int | 179 | int |
| 178 | X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) | 180 | X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) |
| @@ -229,6 +231,7 @@ err: | |||
| 229 | BIO_free(in); | 231 | BIO_free(in); |
| 230 | return ret; | 232 | return ret; |
| 231 | } | 233 | } |
| 234 | LCRYPTO_ALIAS(X509_load_crl_file) | ||
| 232 | 235 | ||
| 233 | int | 236 | int |
| 234 | X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) | 237 | X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) |
| @@ -267,4 +270,4 @@ X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) | |||
| 267 | sk_X509_INFO_pop_free(inf, X509_INFO_free); | 270 | sk_X509_INFO_pop_free(inf, X509_INFO_free); |
| 268 | return count; | 271 | return count; |
| 269 | } | 272 | } |
| 270 | 273 | LCRYPTO_ALIAS(X509_load_cert_crl_file) | |
