From 52f7bdc5fb75e3796bdf3fa19043d8ee5213cf45 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 09:42:44 +0000 Subject: 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 --- src/lib/libcrypto/hidden/openssl/comp.h | 37 --------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/lib/libcrypto/hidden/openssl/comp.h (limited to 'src/lib/libcrypto/hidden/openssl') 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 @@ -/* $OpenBSD: comp.h,v 1.1 2023/07/08 08:26:26 beck Exp $ */ -/* - * Copyright (c) 2023 Bob Beck - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -#ifndef _LIBCRYPTO_COMP_H -#define _LIBCRYPTO_COMP_H - -#ifndef _MSC_VER -#include_next -#else -#include "../include/openssl/comp.h" -#endif -#include "crypto_namespace.h" - -LCRYPTO_USED(COMP_CTX_new); -LCRYPTO_USED(COMP_CTX_free); -LCRYPTO_USED(COMP_compress_block); -LCRYPTO_USED(COMP_expand_block); -LCRYPTO_USED(COMP_rle); -LCRYPTO_USED(COMP_zlib); -LCRYPTO_USED(COMP_zlib_cleanup); -LCRYPTO_USED(ERR_load_COMP_strings); - -#endif /* _LIBCRYPTO_COMP_H */ -- cgit v1.2.3-55-g6feb