summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/engine.h
diff options
context:
space:
mode:
authortb <>2024-03-27 06:08:45 +0000
committertb <>2024-03-27 06:08:45 +0000
commit9b053635b6df53639cb40a0a0d5d55a030353509 (patch)
tree0be80a1eb56e01dd8e723505400b17d37b598ce8 /src/lib/libcrypto/hidden/openssl/engine.h
parent12b93ff740101a3ee8c3d5daba35d06c6ec8641f (diff)
downloadopenbsd-9b053635b6df53639cb40a0a0d5d55a030353509.tar.gz
openbsd-9b053635b6df53639cb40a0a0d5d55a030353509.tar.bz2
openbsd-9b053635b6df53639cb40a0a0d5d55a030353509.zip
Hide symbols in engine
ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/engine.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/engine.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/engine.h b/src/lib/libcrypto/hidden/openssl/engine.h
new file mode 100644
index 0000000000..78334779b1
--- /dev/null
+++ b/src/lib/libcrypto/hidden/openssl/engine.h
@@ -0,0 +1,48 @@
1/* $OpenBSD: engine.h,v 1.1 2024/03/27 06:08:45 tb Exp $ */
2/*
3 * Copyright (c) 2024 Theo Buehler <tb@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_ENGINE_H
19#define _LIBCRYPTO_ENGINE_H
20
21#ifndef _MSC_VER
22#include_next <openssl/engine.h>
23#else
24#include "../include/openssl/engine.h"
25#endif
26#include "crypto_namespace.h"
27
28LCRYPTO_USED(ENGINE_load_builtin_engines);
29LCRYPTO_USED(ENGINE_load_dynamic);
30LCRYPTO_USED(ENGINE_load_openssl);
31LCRYPTO_USED(ENGINE_register_all_complete);
32LCRYPTO_USED(ENGINE_cleanup);
33LCRYPTO_USED(ENGINE_new);
34LCRYPTO_USED(ENGINE_free);
35LCRYPTO_USED(ENGINE_init);
36LCRYPTO_USED(ENGINE_finish);
37LCRYPTO_USED(ENGINE_by_id);
38LCRYPTO_USED(ENGINE_get_id);
39LCRYPTO_USED(ENGINE_get_name);
40LCRYPTO_USED(ENGINE_set_default);
41LCRYPTO_USED(ENGINE_get_default_RSA);
42LCRYPTO_USED(ENGINE_set_default_RSA);
43LCRYPTO_USED(ENGINE_ctrl_cmd);
44LCRYPTO_USED(ENGINE_ctrl_cmd_string);
45LCRYPTO_USED(ENGINE_load_private_key);
46LCRYPTO_USED(ENGINE_load_public_key);
47
48#endif /* _LIBCRYPTO_ENGINE_H */