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

Minor error in setting error


Hi,

I've found what appears to be a bug in code. the function ssh_set_error takes an int for an input, but there appears to be an enum for this called ssh_error_types_e. In almost all cases usage of ssh_set_error uses a value from the enum, except in messages.c line 864 which has one line of code:

ssh_set_error(session, SSH_LOG_PACKET, "USERAUTH_REQUEST: gssapi-with-mic missing OID");

In this case, SSH_LOG_PACKET=3 which is the same value as SSH_EINTR=3.

Regards,
Jason.


Follow-Ups:
RE: Minor error in setting errorJason Curl <jason@xxxxxxxxxxxxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org