diff options
Diffstat (limited to 'src/lib/libcrypto/comp/comp_lib.c')
-rw-r--r-- | src/lib/libcrypto/comp/comp_lib.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 | } |
139 | LCRYPTO_ALIAS(COMP_CTX_new); | ||
139 | 140 | ||
140 | void | 141 | void |
141 | COMP_CTX_free(COMP_CTX *ctx) | 142 | COMP_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 | } |
152 | LCRYPTO_ALIAS(COMP_CTX_free); | ||
151 | 153 | ||
152 | int | 154 | int |
153 | COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, | 155 | COMP_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 | } |
170 | LCRYPTO_ALIAS(COMP_compress_block); | ||
168 | 171 | ||
169 | int | 172 | int |
170 | COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, | 173 | COMP_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 | } |
188 | LCRYPTO_ALIAS(COMP_expand_block); | ||