diff options
author | 2014-11-03 16:58:28 +0000 | |
---|---|---|
committer | 2014-11-03 16:58:28 +0000 | |
commit | 9533c7d156aa33e671188aaee3698a0599558b49 (patch) | |
tree | c265712a87ed4193fe065676c80ad8a2804de1fb /lib/libssl/src/crypto/comp/c_rle.c | |
parent | Convert the logic in yyerror(). Instead of creating a temporary (diff) | |
download | wireguard-openbsd-9533c7d156aa33e671188aaee3698a0599558b49.tar.xz wireguard-openbsd-9533c7d156aa33e671188aaee3698a0599558b49.zip |
minor cleanup of zlib code. DSO is gone. ok jsing.
Diffstat (limited to 'lib/libssl/src/crypto/comp/c_rle.c')
-rw-r--r-- | lib/libssl/src/crypto/comp/c_rle.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/src/crypto/comp/c_rle.c b/lib/libssl/src/crypto/comp/c_rle.c index 214efe01b2a..7004c350299 100644 --- a/lib/libssl/src/crypto/comp/c_rle.c +++ b/lib/libssl/src/crypto/comp/c_rle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: c_rle.c,v 1.7 2014/06/12 15:49:28 deraadt Exp $ */ +/* $OpenBSD: c_rle.c,v 1.8 2014/11/03 16:58:28 tedu Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -27,10 +27,8 @@ static int rle_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) { - /* int i; */ if (ilen == 0 || olen < (ilen - 1)) { - /* ZZZZZZZZZZZZZZZZZZZZZZ */ return (-1); } @@ -46,7 +44,6 @@ rle_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, int i; if (olen < (ilen - 1)) { - /* ZZZZZZZZZZZZZZZZZZZZZZ */ return (-1); } |