mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-06-08 16:35:26 -04:00
polarssl: fix unreachable code
Found via cppcheck and compile-tested. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Acked-by: Steffan Karger <steffan.karger@fox-it.com> Message-Id: <1416745303-23641-1-git-send-email-yegorslists@googlemail.com> URL: http://article.gmane.org/gmane.network.openvpn.devel/9266 Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
245831b9bb
commit
98c5de769d
1 changed files with 1 additions and 1 deletions
|
|
@ -846,8 +846,8 @@ key_state_write_plaintext (struct key_state_ssl *ks, struct buffer *buf)
|
|||
|
||||
if (0 == buf->len)
|
||||
{
|
||||
return 0;
|
||||
perf_pop ();
|
||||
return 0;
|
||||
}
|
||||
|
||||
retval = ssl_write(ks->ctx, BPTR(buf), buf->len);
|
||||
|
|
|
|||
Loading…
Reference in a new issue