Update for upstream change
This commit is contained in:
parent
7f318f2865
commit
306b9766c6
@ -330,7 +330,7 @@ fn read_auth_message(buf: &mut MemReader) -> IoResult<BackendMessage> {
|
|||||||
3 => AuthenticationCleartextPassword,
|
3 => AuthenticationCleartextPassword,
|
||||||
5 => {
|
5 => {
|
||||||
let mut salt = [0, 0, 0, 0];
|
let mut salt = [0, 0, 0, 0];
|
||||||
try!(buf.fill(salt));
|
try!(buf.read_at_least(salt.len(), salt));
|
||||||
AuthenticationMD5Password { salt: salt }
|
AuthenticationMD5Password { salt: salt }
|
||||||
},
|
},
|
||||||
6 => AuthenticationSCMCredential,
|
6 => AuthenticationSCMCredential,
|
||||||
|
Loading…
Reference in New Issue
Block a user