summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/comp/comp_lib.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-11-03 16:58:28 +0000
committertedu <tedu@openbsd.org>2014-11-03 16:58:28 +0000
commit9533c7d156aa33e671188aaee3698a0599558b49 (patch)
treec265712a87ed4193fe065676c80ad8a2804de1fb /lib/libssl/src/crypto/comp/comp_lib.c
parentConvert the logic in yyerror(). Instead of creating a temporary (diff)
downloadwireguard-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/comp_lib.c')
-rw-r--r--lib/libssl/src/crypto/comp/comp_lib.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/src/crypto/comp/comp_lib.c b/lib/libssl/src/crypto/comp/comp_lib.c
index 78a01a698cc..dde238ef728 100644
--- a/lib/libssl/src/crypto/comp/comp_lib.c
+++ b/lib/libssl/src/crypto/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 <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -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);