summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/comp/comp_lib.c
diff options
context:
space:
mode:
authortedu <>2014-11-03 16:58:28 +0000
committertedu <>2014-11-03 16:58:28 +0000
commitc393da8a793368840f1101c4aca7d65629881539 (patch)
tree82f33c5a8e89b7c1efe3edba9f73e31fd82c52c3 /src/lib/libcrypto/comp/comp_lib.c
parenta3eca90dbf58e4b053bf7a401300f044cfdc2256 (diff)
downloadopenbsd-c393da8a793368840f1101c4aca7d65629881539.tar.gz
openbsd-c393da8a793368840f1101c4aca7d65629881539.tar.bz2
openbsd-c393da8a793368840f1101c4aca7d65629881539.zip
minor cleanup of zlib code. DSO is gone. ok jsing.
Diffstat (limited to 'src/lib/libcrypto/comp/comp_lib.c')
-rw-r--r--src/lib/libcrypto/comp/comp_lib.c5
1 files changed, 1 insertions, 4 deletions
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 @@
1/* $OpenBSD: comp_lib.c,v 1.7 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: comp_lib.c,v 1.8 2014/11/03 16:58:28 tedu Exp $ */
2#include <stdio.h> 2#include <stdio.h>
3#include <stdlib.h> 3#include <stdlib.h>
4#include <string.h> 4#include <string.h>
@@ -11,7 +11,6 @@ COMP_CTX_new(COMP_METHOD *meth)
11 COMP_CTX *ret; 11 COMP_CTX *ret;
12 12
13 if ((ret = calloc(1, sizeof(COMP_CTX))) == NULL) { 13 if ((ret = calloc(1, sizeof(COMP_CTX))) == NULL) {
14 /* ZZZZZZZZZZZZZZZZ */
15 return (NULL); 14 return (NULL);
16 } 15 }
17 ret->meth = meth; 16 ret->meth = meth;
@@ -41,7 +40,6 @@ COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
41 int ret; 40 int ret;
42 41
43 if (ctx->meth->compress == NULL) { 42 if (ctx->meth->compress == NULL) {
44 /* ZZZZZZZZZZZZZZZZZ */
45 return (-1); 43 return (-1);
46 } 44 }
47 ret = ctx->meth->compress(ctx, out, olen, in, ilen); 45 ret = ctx->meth->compress(ctx, out, olen, in, ilen);
@@ -59,7 +57,6 @@ COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
59 int ret; 57 int ret;
60 58
61 if (ctx->meth->expand == NULL) { 59 if (ctx->meth->expand == NULL) {
62 /* ZZZZZZZZZZZZZZZZZ */
63 return (-1); 60 return (-1);
64 } 61 }
65 ret = ctx->meth->expand(ctx, out, olen, in, ilen); 62 ret = ctx->meth->expand(ctx, out, olen, in, ilen);