projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing return values (Coverity ID 204).
[openssl.git]
/
crypto
/
comp
/
c_zlib.c
diff --git
a/crypto/comp/c_zlib.c
b/crypto/comp/c_zlib.c
index 0f34597e70427cf45dd1fe4a6c7c3195e77fea4f..0e503bf1772b39b00c366e55bc22bd390a0a7b02 100644
(file)
--- a/
crypto/comp/c_zlib.c
+++ b/
crypto/comp/c_zlib.c
@@
-727,6
+727,7
@@
static long bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr)
case BIO_CTRL_RESET:
ctx->ocount = 0;
ctx->odone = 0;
case BIO_CTRL_RESET:
ctx->ocount = 0;
ctx->odone = 0;
+ ret = 1;
break;
case BIO_CTRL_FLUSH:
break;
case BIO_CTRL_FLUSH:
@@
-771,7
+772,7
@@
static long bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr)
}
ctx->obufsize = obs;
}
}
ctx->obufsize = obs;
}
-
+ ret = 1;
break;
case BIO_C_DO_STATE_MACHINE:
break;
case BIO_C_DO_STATE_MACHINE: