[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] [PATCH] SASL fix

From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] [PATCH] SASL fix
Date: Mon, 03 Feb 2003 11:07:12 +0200

Hi Simon,

> Some SASL mechanisms output data when GSASL_OK is returned (data which
> doesn't affect the outcome of the SASL negotiation, typically data
> that provides mutual authentication for the client).  This makes sure
> it is sent.
> +  if (output_len > 0)
> +    util_send ("+ %s\r\n", output);
> +

Output_len will always be greater then zero, so util_send will be
called unconditionally. Or did you mean

  if (output[0])
    util_send ("+ %s\r\n", output);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]