diff options
author | beck <> | 2023-07-08 06:04:33 +0000 |
---|---|---|
committer | beck <> | 2023-07-08 06:04:33 +0000 |
commit | 9a67247dade8301b319163999154fc477bea9462 (patch) | |
tree | abcd208cc13eff6dbf32de3058517efe332a97aa /src | |
parent | fe9b913b90f298c5dd4ba93988e01f57a72d318b (diff) | |
download | openbsd-9a67247dade8301b319163999154fc477bea9462.tar.gz openbsd-9a67247dade8301b319163999154fc477bea9462.tar.bz2 openbsd-9a67247dade8301b319163999154fc477bea9462.zip |
unbreak build when namespaced, file was here in my tree but didn't manage
to cvs add
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/hidden/openssl/ecdh.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/ecdh.h b/src/lib/libcrypto/hidden/openssl/ecdh.h new file mode 100644 index 0000000000..db56f8a588 --- /dev/null +++ b/src/lib/libcrypto/hidden/openssl/ecdh.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* $OpenBSD: ecdh.h,v 1.1 2023/07/08 06:04:33 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_ECDH_H | ||
19 | #define _LIBCRYPTO_ECDH_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/ecdh.h> | ||
23 | #else | ||
24 | #include "../include/openssl/ecdh.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(ECDH_OpenSSL); | ||
29 | LCRYPTO_USED(ECDH_set_default_method); | ||
30 | LCRYPTO_USED(ECDH_get_default_method); | ||
31 | LCRYPTO_USED(ECDH_set_method); | ||
32 | LCRYPTO_USED(ECDH_size); | ||
33 | LCRYPTO_USED(ECDH_compute_key); | ||
34 | LCRYPTO_USED(ECDH_get_ex_new_index); | ||
35 | LCRYPTO_USED(ECDH_set_ex_data); | ||
36 | LCRYPTO_USED(ECDH_get_ex_data); | ||
37 | LCRYPTO_USED(ERR_load_ECDH_strings); | ||
38 | |||
39 | #endif /* _LIBCRYPTO_ECDH_H */ | ||