diff options
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) | |
