summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_d2.c
diff options
context:
space:
mode:
authorbeck <>2022-11-14 17:48:50 +0000
committerbeck <>2022-11-14 17:48:50 +0000
commit109899f1b36632f5f1c469c4f562df69585eb21e (patch)
treec42f727f8848b4a56e738422f26e8b44150174e4 /src/lib/libcrypto/x509/x509_d2.c
parentfd2db7678bc81cd8abe106c7bd1c724c8b01888d (diff)
downloadopenbsd-109899f1b36632f5f1c469c4f562df69585eb21e.tar.gz
openbsd-109899f1b36632f5f1c469c4f562df69585eb21e.tar.bz2
openbsd-109899f1b36632f5f1c469c4f562df69585eb21e.zip
Hide public symbols in libcrypto/x509 .c files
ok tb@
Diffstat (limited to 'src/lib/libcrypto/x509/x509_d2.c')
-rw-r--r--src/lib/libcrypto/x509/x509_d2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_d2.c b/src/lib/libcrypto/x509/x509_d2.c
index 5b0f80adda..522062a694 100644
--- a/src/lib/libcrypto/x509/x509_d2.c
+++ b/src/lib/libcrypto/x509/x509_d2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_d2.c,v 1.10 2015/01/22 09:06:39 reyk Exp $ */ 1/* $OpenBSD: x509_d2.c,v 1.11 2022/11/14 17:48:50 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 *
@@ -83,6 +83,7 @@ X509_STORE_set_default_paths(X509_STORE *ctx)
83 83
84 return (1); 84 return (1);
85} 85}
86LCRYPTO_ALIAS(X509_STORE_set_default_paths)
86 87
87int 88int
88X509_STORE_load_locations(X509_STORE *ctx, const char *file, const char *path) 89X509_STORE_load_locations(X509_STORE *ctx, const char *file, const char *path)
@@ -107,6 +108,7 @@ X509_STORE_load_locations(X509_STORE *ctx, const char *file, const char *path)
107 return (0); 108 return (0);
108 return (1); 109 return (1);
109} 110}
111LCRYPTO_ALIAS(X509_STORE_load_locations)
110 112
111int 113int
112X509_STORE_load_mem(X509_STORE *ctx, void *buf, int len) 114X509_STORE_load_mem(X509_STORE *ctx, void *buf, int len)
@@ -126,3 +128,4 @@ X509_STORE_load_mem(X509_STORE *ctx, void *buf, int len)
126 128
127 return (1); 129 return (1);
128} 130}
131LCRYPTO_ALIAS(X509_STORE_load_mem)