diff options
author | 2015-07-19 01:18:17 +0000 | |
---|---|---|
committer | 2015-07-19 01:18:17 +0000 | |
commit | a5c4ebdc12f60f361a2b4321975ee20d1648efcd (patch) | |
tree | f194b2acb4357b06085348858a2273d5609c6e0c /lib/libssl/src | |
parent | Make the keyboard driver poll until we can improve it more. Pulled from the original driver by Patrick Wildt, OK jsg@. (diff) | |
download | wireguard-openbsd-a5c4ebdc12f60f361a2b4321975ee20d1648efcd.tar.xz wireguard-openbsd-a5c4ebdc12f60f361a2b4321975ee20d1648efcd.zip |
Fix Coverity 72742 - ret is overwritten immediately after this.
ok doug@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/bio/bf_buff.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/bio/bf_buff.c b/lib/libssl/src/crypto/bio/bf_buff.c index ab47ae46276..639e3f318d0 100644 --- a/lib/libssl/src/crypto/bio/bf_buff.c +++ b/lib/libssl/src/crypto/bio/bf_buff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bf_buff.c,v 1.21 2014/07/11 08:44:47 jsing Exp $ */ +/* $OpenBSD: bf_buff.c,v 1.22 2015/07/19 01:18:17 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -426,7 +426,6 @@ buffer_ctrl(BIO *b, int cmd, long num, void *ptr) } else { ctx->obuf_len = 0; ctx->obuf_off = 0; - ret = 1; break; } } |