mirror of
https://github.com/openssl/openssl.git
synced 2024-11-24 02:23:51 +08:00
Missing return values (Coverity ID 204).
This commit is contained in:
parent
434ba03ca9
commit
1f6e9bce21
@ -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;
|
||||
ret = 1;
|
||||
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;
|
||||
}
|
||||
|
||||
ret = 1;
|
||||
break;
|
||||
|
||||
case BIO_C_DO_STATE_MACHINE:
|
||||
|
Loading…
Reference in New Issue
Block a user