summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/comp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/comp')
-rw-r--r--src/lib/libcrypto/comp/c_rle.c3
-rw-r--r--src/lib/libcrypto/comp/c_zlib.c4
-rw-r--r--src/lib/libcrypto/comp/comp_err.c3
-rw-r--r--src/lib/libcrypto/comp/comp_lib.c6
4 files changed, 12 insertions, 4 deletions
diff --git a/src/lib/libcrypto/comp/c_rle.c b/src/lib/libcrypto/comp/c_rle.c
index c2c279dc04..7907dd83cd 100644
--- a/src/lib/libcrypto/comp/c_rle.c
+++ b/src/lib/libcrypto/comp/c_rle.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: c_rle.c,v 1.11 2022/12/24 07:12:09 tb Exp $ */ 1/* $OpenBSD: c_rle.c,v 1.12 2023/07/08 08:26:26 beck Exp $ */
2/* 2/*
3 * --------------------------------------------------------------------------- 3 * ---------------------------------------------------------------------------
4 * Patches to this file were contributed by 4 * Patches to this file were contributed by
@@ -138,6 +138,7 @@ COMP_rle(void)
138{ 138{
139 return (&rle_method); 139 return (&rle_method);
140} 140}
141LCRYPTO_ALIAS(COMP_rle);
141 142
142static int 143static int
143rle_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, 144rle_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen,
diff --git a/src/lib/libcrypto/comp/c_zlib.c b/src/lib/libcrypto/comp/c_zlib.c
index ec98b26f5c..087e2f4c61 100644
--- a/src/lib/libcrypto/comp/c_zlib.c
+++ b/src/lib/libcrypto/comp/c_zlib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: c_zlib.c,v 1.27 2023/06/11 05:35:43 tb Exp $ */ 1/* $OpenBSD: c_zlib.c,v 1.28 2023/07/08 08:26:26 beck Exp $ */
2/* 2/*
3 * --------------------------------------------------------------------------- 3 * ---------------------------------------------------------------------------
4 * Major patches to this file were contributed by 4 * Major patches to this file were contributed by
@@ -137,8 +137,10 @@ COMP_zlib(void)
137{ 137{
138 return &zlib_method_nozlib; 138 return &zlib_method_nozlib;
139} 139}
140LCRYPTO_ALIAS(COMP_zlib);
140 141
141void 142void
142COMP_zlib_cleanup(void) 143COMP_zlib_cleanup(void)
143{ 144{
144} 145}
146LCRYPTO_ALIAS(COMP_zlib_cleanup);
diff --git a/src/lib/libcrypto/comp/comp_err.c b/src/lib/libcrypto/comp/comp_err.c
index 5ec5039f80..49c476c023 100644
--- a/src/lib/libcrypto/comp/comp_err.c
+++ b/src/lib/libcrypto/comp/comp_err.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: comp_err.c,v 1.13 2022/12/23 23:23:02 schwarze Exp $ */ 1/* $OpenBSD: comp_err.c,v 1.14 2023/07/08 08:26:26 beck Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * This file was written by Dr. Stephen Henson <steve@openssl.org>. 3 * This file was written by Dr. Stephen Henson <steve@openssl.org>.
4 * Copyright (c) 1999, 2005, 2008 The OpenSSL Project. All rights reserved. 4 * Copyright (c) 1999, 2005, 2008 The OpenSSL Project. All rights reserved.
@@ -92,3 +92,4 @@ ERR_load_COMP_strings(void)
92 } 92 }
93#endif 93#endif
94} 94}
95LCRYPTO_ALIAS(ERR_load_COMP_strings);
diff --git a/src/lib/libcrypto/comp/comp_lib.c b/src/lib/libcrypto/comp/comp_lib.c
index 5cb2335bf5..f26edc0002 100644
--- a/src/lib/libcrypto/comp/comp_lib.c
+++ b/src/lib/libcrypto/comp/comp_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: comp_lib.c,v 1.11 2022/12/24 07:12:09 tb Exp $ */ 1/* $OpenBSD: comp_lib.c,v 1.12 2023/07/08 08:26:26 beck Exp $ */
2/* 2/*
3 * --------------------------------------------------------------------------- 3 * ---------------------------------------------------------------------------
4 * Patches to this file were contributed by 4 * Patches to this file were contributed by
@@ -136,6 +136,7 @@ COMP_CTX_new(COMP_METHOD *meth)
136 } 136 }
137 return (ret); 137 return (ret);
138} 138}
139LCRYPTO_ALIAS(COMP_CTX_new);
139 140
140void 141void
141COMP_CTX_free(COMP_CTX *ctx) 142COMP_CTX_free(COMP_CTX *ctx)
@@ -148,6 +149,7 @@ COMP_CTX_free(COMP_CTX *ctx)
148 149
149 free(ctx); 150 free(ctx);
150} 151}
152LCRYPTO_ALIAS(COMP_CTX_free);
151 153
152int 154int
153COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, 155COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
@@ -165,6 +167,7 @@ COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
165 } 167 }
166 return (ret); 168 return (ret);
167} 169}
170LCRYPTO_ALIAS(COMP_compress_block);
168 171
169int 172int
170COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, 173COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
@@ -182,3 +185,4 @@ COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
182 } 185 }
183 return (ret); 186 return (ret);
184} 187}
188LCRYPTO_ALIAS(COMP_expand_block);