summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/objects.h
diff options
context:
space:
mode:
authorbeck <>2023-07-08 12:27:51 +0000
committerbeck <>2023-07-08 12:27:51 +0000
commit58b8e86504ee990d53dee75f82e5650298fb8fae (patch)
treefc4a56499fa135830ac3a4de1d3e9df82e09577d /src/lib/libcrypto/hidden/openssl/objects.h
parent2c1948ab61cef09c8a7c3306a9b8f7c311bb5c82 (diff)
downloadopenbsd-58b8e86504ee990d53dee75f82e5650298fb8fae.tar.gz
openbsd-58b8e86504ee990d53dee75f82e5650298fb8fae.tar.bz2
openbsd-58b8e86504ee990d53dee75f82e5650298fb8fae.zip
Hide symbols in objects
ok tb@
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/objects.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/objects.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/objects.h b/src/lib/libcrypto/hidden/openssl/objects.h
new file mode 100644
index 0000000000..f658a7cfa5
--- /dev/null
+++ b/src/lib/libcrypto/hidden/openssl/objects.h
@@ -0,0 +1,61 @@
1/* $OpenBSD: objects.h,v 1.1 2023/07/08 12:27:51 beck Exp $ */
2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#ifndef _LIBCRYPTO_OBJECTS_H
19#define _LIBCRYPTO_OBJECTS_H
20
21#ifndef _MSC_VER
22#include_next <openssl/objects.h>
23#else
24#include "../include/openssl/objects.h"
25#endif
26#include "crypto_namespace.h"
27
28LCRYPTO_USED(OBJ_NAME_init);
29LCRYPTO_USED(OBJ_NAME_new_index);
30LCRYPTO_USED(OBJ_NAME_get);
31LCRYPTO_USED(OBJ_NAME_add);
32LCRYPTO_USED(OBJ_NAME_remove);
33LCRYPTO_USED(OBJ_NAME_cleanup);
34LCRYPTO_USED(OBJ_NAME_do_all);
35LCRYPTO_USED(OBJ_NAME_do_all_sorted);
36LCRYPTO_USED(OBJ_dup);
37LCRYPTO_USED(OBJ_nid2obj);
38LCRYPTO_USED(OBJ_nid2ln);
39LCRYPTO_USED(OBJ_nid2sn);
40LCRYPTO_USED(OBJ_obj2nid);
41LCRYPTO_USED(OBJ_txt2obj);
42LCRYPTO_USED(OBJ_obj2txt);
43LCRYPTO_USED(OBJ_txt2nid);
44LCRYPTO_USED(OBJ_ln2nid);
45LCRYPTO_USED(OBJ_sn2nid);
46LCRYPTO_USED(OBJ_cmp);
47LCRYPTO_USED(OBJ_bsearch_);
48LCRYPTO_USED(OBJ_new_nid);
49LCRYPTO_USED(OBJ_add_object);
50LCRYPTO_USED(OBJ_create);
51LCRYPTO_USED(OBJ_cleanup);
52LCRYPTO_USED(OBJ_create_objects);
53LCRYPTO_USED(OBJ_length);
54LCRYPTO_USED(OBJ_get0_data);
55LCRYPTO_USED(OBJ_find_sigid_algs);
56LCRYPTO_USED(OBJ_find_sigid_by_algs);
57LCRYPTO_USED(OBJ_add_sigid);
58LCRYPTO_USED(OBJ_sigid_free);
59LCRYPTO_USED(ERR_load_OBJ_strings);
60
61#endif /* _LIBCRYPTO_OBJECTS_H */