From c393da8a793368840f1101c4aca7d65629881539 Mon Sep 17 00:00:00 2001 From: tedu <> Date: Mon, 3 Nov 2014 16:58:28 +0000 Subject: minor cleanup of zlib code. DSO is gone. ok jsing. --- src/lib/libcrypto/comp/comp_lib.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib/libcrypto/comp/comp_lib.c') diff --git a/src/lib/libcrypto/comp/comp_lib.c b/src/lib/libcrypto/comp/comp_lib.c index 78a01a698c..dde238ef72 100644 --- a/src/lib/libcrypto/comp/comp_lib.c +++ b/src/lib/libcrypto/comp/comp_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: comp_lib.c,v 1.7 2014/06/12 15:49:28 deraadt Exp $ */ +/* $OpenBSD: comp_lib.c,v 1.8 2014/11/03 16:58:28 tedu Exp $ */ #include #include #include @@ -11,7 +11,6 @@ COMP_CTX_new(COMP_METHOD *meth) COMP_CTX *ret; if ((ret = calloc(1, sizeof(COMP_CTX))) == NULL) { - /* ZZZZZZZZZZZZZZZZ */ return (NULL); } ret->meth = meth; @@ -41,7 +40,6 @@ COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, int ret; if (ctx->meth->compress == NULL) { - /* ZZZZZZZZZZZZZZZZZ */ return (-1); } ret = ctx->meth->compress(ctx, out, olen, in, ilen); @@ -59,7 +57,6 @@ COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, int ret; if (ctx->meth->expand == NULL) { - /* ZZZZZZZZZZZZZZZZZ */ return (-1); } ret = ctx->meth->expand(ctx, out, olen, in, ilen); -- cgit v1.2.3-55-g6feb