diff options
author | jmc <> | 2022-12-26 07:18:53 +0000 |
---|---|---|
committer | jmc <> | 2022-12-26 07:18:53 +0000 |
commit | 8144b51086b3c46594192ccbec62762e58d61200 (patch) | |
tree | 26f3d93398833b7449b8a97e9fe4af9904382dbf /src/lib/libcrypto/comp/c_zlib.c | |
parent | 54da696f897367a85e20e97a53d29b18b44cf8b7 (diff) | |
download | openbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.gz openbsd-8144b51086b3c46594192ccbec62762e58d61200.tar.bz2 openbsd-8144b51086b3c46594192ccbec62762e58d61200.zip |
spelling fixes; from paul tagliamonte
i removed the arithmetics -> arithmetic changes, as i felt they
were not clearly correct
ok tb
Diffstat (limited to 'src/lib/libcrypto/comp/c_zlib.c')
-rw-r--r-- | src/lib/libcrypto/comp/c_zlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/comp/c_zlib.c b/src/lib/libcrypto/comp/c_zlib.c index 6aac97e451..9db0ae26bc 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.24 2022/12/24 07:12:09 tb Exp $ */ | 1 | /* $OpenBSD: c_zlib.c,v 1.25 2022/12/26 07:18:51 jmc Exp $ */ |
2 | /* | 2 | /* |
3 | * --------------------------------------------------------------------------- | 3 | * --------------------------------------------------------------------------- |
4 | * Major patches to this file were contributed by | 4 | * Major patches to this file were contributed by |
@@ -143,7 +143,7 @@ static int zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, | |||
143 | unsigned int olen, unsigned char *in, unsigned int ilen); | 143 | unsigned int olen, unsigned char *in, unsigned int ilen); |
144 | 144 | ||
145 | 145 | ||
146 | /* memory allocations functions for zlib intialization */ | 146 | /* memory allocations functions for zlib initialization */ |
147 | static void* | 147 | static void* |
148 | zlib_zalloc(void* opaque, unsigned int no, unsigned int size) | 148 | zlib_zalloc(void* opaque, unsigned int no, unsigned int size) |
149 | { | 149 | { |
@@ -297,7 +297,7 @@ COMP_zlib(void) | |||
297 | #ifdef ZLIB | 297 | #ifdef ZLIB |
298 | { | 298 | { |
299 | /* init zlib_stateful_ex_idx here so that in a multi-process | 299 | /* init zlib_stateful_ex_idx here so that in a multi-process |
300 | * application it's enough to intialize openssl before forking | 300 | * application it's enough to initialize openssl before forking |
301 | * (idx will be inherited in all the children) */ | 301 | * (idx will be inherited in all the children) */ |
302 | if (zlib_stateful_ex_idx == -1) { | 302 | if (zlib_stateful_ex_idx == -1) { |
303 | CRYPTO_w_lock(CRYPTO_LOCK_COMP); | 303 | CRYPTO_w_lock(CRYPTO_LOCK_COMP); |