summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-28 11:49:25 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-04-28 11:49:25 +0200
commit9927ac012fc9b23843928e29b0caf19cb69c05b8 (patch)
tree56d9e8291b03778dfc512a40c3b4261fa9ef27ea
parent6a8c8a0cccb6381f8bab78b120a2ccc47d375ae7 (diff)
downloadgnutls-9927ac012fc9b23843928e29b0caf19cb69c05b8.tar.gz
removed redundant code. Reported by David Binderman.
-rw-r--r--lib/ext/safe_renegotiation.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/ext/safe_renegotiation.c b/lib/ext/safe_renegotiation.c
index e8c8b1d730..8dce6beaa8 100644
--- a/lib/ext/safe_renegotiation.c
+++ b/lib/ext/safe_renegotiation.c
@@ -201,9 +201,6 @@ int _gnutls_ext_sr_recv_cs(gnutls_session_t session)
&epriv);
if (ret < 0) {
set = 1;
- } else if (ret < 0) {
- gnutls_assert();
- return ret;
}
if (set != 0) {
@@ -238,9 +235,6 @@ int _gnutls_ext_sr_send_cs(gnutls_session_t session)
&epriv);
if (ret < 0) {
set = 1;
- } else if (ret < 0) {
- gnutls_assert();
- return ret;
}
if (set != 0) {