summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/by_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/by_file.c')
-rw-r--r--src/lib/libcrypto/x509/by_file.c7
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}
92LCRYPTO_ALIAS(X509_LOOKUP_file)
92 93
93static int 94static int
94by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl, 95by_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}
177LCRYPTO_ALIAS(X509_load_cert_file)
176 178
177int 179int
178X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) 180X509_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}
234LCRYPTO_ALIAS(X509_load_crl_file)
232 235
233int 236int
234X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type) 237X509_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 273LCRYPTO_ALIAS(X509_load_cert_crl_file)