summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden
diff options
context:
space:
mode:
authortb <>2023-07-28 09:42:44 +0000
committertb <>2023-07-28 09:42:44 +0000
commit52f7bdc5fb75e3796bdf3fa19043d8ee5213cf45 (patch)
tree1f5e1a8c04786d64759fed9d810d805ff607f9ae /src/lib/libcrypto/hidden
parent9c5ea71bae1a127e105ddfec83aabaa35ad748d2 (diff)
downloadopenbsd-52f7bdc5fb75e3796bdf3fa19043d8ee5213cf45.tar.gz
openbsd-52f7bdc5fb75e3796bdf3fa19043d8ee5213cf45.tar.bz2
openbsd-52f7bdc5fb75e3796bdf3fa19043d8ee5213cf45.zip
Drop the comp module
opensslfeatures.h has long defined OPENSSL_NO_COMP and the build with ZLIB was broken in openssl(1) since 2015 and in libcrypto since 2022. ZLIB was unifdefed a while ago, now we can retire the public API. The comp.h header stays devoid of code because a number of ports use it for historic reasons. ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden')
-rw-r--r--src/lib/libcrypto/hidden/openssl/comp.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/comp.h b/src/lib/libcrypto/hidden/openssl/comp.h
deleted file mode 100644
index fc97324eac..0000000000
--- a/src/lib/libcrypto/hidden/openssl/comp.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/* $OpenBSD: comp.h,v 1.1 2023/07/08 08:26:26 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_COMP_H
19#define _LIBCRYPTO_COMP_H
20
21#ifndef _MSC_VER
22#include_next <openssl/comp.h>
23#else
24#include "../include/openssl/comp.h"
25#endif
26#include "crypto_namespace.h"
27
28LCRYPTO_USED(COMP_CTX_new);
29LCRYPTO_USED(COMP_CTX_free);
30LCRYPTO_USED(COMP_compress_block);
31LCRYPTO_USED(COMP_expand_block);
32LCRYPTO_USED(COMP_rle);
33LCRYPTO_USED(COMP_zlib);
34LCRYPTO_USED(COMP_zlib_cleanup);
35LCRYPTO_USED(ERR_load_COMP_strings);
36
37#endif /* _LIBCRYPTO_COMP_H */