diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-15 13:58:05 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-15 14:15:07 +0200 |
commit | ca231b0da8dcd87af1597a26ea83f29be77e0e10 (patch) | |
tree | 82e5747ad5ed8a55a4004c181f89746a3073663d /lib/gnutls_range.c | |
parent | bc2e021dd8653cbf6fd9a8007afbaad78391922f (diff) | |
download | gnutls-ca231b0da8dcd87af1597a26ea83f29be77e0e10.tar.gz |
several bug fixes due to coverity.
Diffstat (limited to 'lib/gnutls_range.c')
-rw-r--r-- | lib/gnutls_range.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gnutls_range.c b/lib/gnutls_range.c index 853e54a7e0..aa83001b27 100644 --- a/lib/gnutls_range.c +++ b/lib/gnutls_range.c @@ -248,10 +248,6 @@ gnutls_record_send_range(gnutls_session_t session, const void *data, if (ret == 0) return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST); - if (ret == 0 && range->low != range->high) - /* Cannot use LH, but a range was given */ - return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST); - _gnutls_set_range(&cur_range, range->low, range->high); _gnutls_record_log |