Duplicate value used in disconnect reason definitons

Noah noah at zalev.ca
Thu Jun 18 09:12:37 AEST 2020


I could not find anything in the mailing list archive or bug tracker.

In ssh2.h, the value (4) is re-used

148     #define SSH2_DISCONNECT_KEY_EXCHANGE_FAILED		3
149     #define SSH2_DISCONNECT_HOST_AUTHENTICATION_FAILED	4
150     #define SSH2_DISCONNECT_RESERVED			4
151     #define SSH2_DISCONNECT_MAC_ERROR			5


Is this intentional?

Thanks,
Noah Zalev


More information about the openssh-unix-dev mailing list