[gnutls-devel] safe_renegotiation.c: 2 * possible cut'n'paste error
Nikos Mavrogiannopoulos
nmav at gnutls.org
Mon Apr 28 11:49:55 CEST 2014
On Thu, Apr 24, 2014 at 10:23 PM, David Binderman <dcb314 at hotmail.com> wrote:
> Hello there,
>
> 1.
> [safe_renegotiation.c:204]: (style) Expression is always false because 'else if' condition matches previous condition at line 202.
>
> if (ret < 0) {
> set = 1;
> } else if (ret < 0) {
> gnutls_assert();
> return ret;
> }
>
> 2.
> [safe_renegotiation.c:241]: (style) Expression is always false because 'else if' condition matches previous condition at line 239.
Thank you. I've removed the redundant code.
regards,
Nikos
More information about the Gnutls-devel
mailing list