Update for upstream change

This commit is contained in:
Steven Fackler 2014-05-14 19:02:38 -07:00
parent 7f318f2865
commit 306b9766c6

View File

@ -330,7 +330,7 @@ fn read_auth_message(buf: &mut MemReader) -> IoResult<BackendMessage> {
3 => AuthenticationCleartextPassword,
5 => {
let mut salt = [0, 0, 0, 0];
try!(buf.fill(salt));
try!(buf.read_at_least(salt.len(), salt));
AuthenticationMD5Password { salt: salt }
},
6 => AuthenticationSCMCredential,