diff options
| author | tb <> | 2023-07-28 09:42:44 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-28 09:42:44 +0000 |
| commit | 567937f0a266480c702bf4a223805fb66b99fc37 (patch) | |
| tree | 1f5e1a8c04786d64759fed9d810d805ff607f9ae /src/lib/libcrypto/hidden/openssl/comp.h | |
| parent | 86a42c7a4efeefbbee301583a417e1b99bbda38d (diff) | |
| download | openbsd-567937f0a266480c702bf4a223805fb66b99fc37.tar.gz openbsd-567937f0a266480c702bf4a223805fb66b99fc37.tar.bz2 openbsd-567937f0a266480c702bf4a223805fb66b99fc37.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/openssl/comp.h')
| -rw-r--r-- | src/lib/libcrypto/hidden/openssl/comp.h | 37 |
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 | |||
| 28 | LCRYPTO_USED(COMP_CTX_new); | ||
| 29 | LCRYPTO_USED(COMP_CTX_free); | ||
| 30 | LCRYPTO_USED(COMP_compress_block); | ||
| 31 | LCRYPTO_USED(COMP_expand_block); | ||
| 32 | LCRYPTO_USED(COMP_rle); | ||
| 33 | LCRYPTO_USED(COMP_zlib); | ||
| 34 | LCRYPTO_USED(COMP_zlib_cleanup); | ||
| 35 | LCRYPTO_USED(ERR_load_COMP_strings); | ||
| 36 | |||
| 37 | #endif /* _LIBCRYPTO_COMP_H */ | ||
