Mercurial > dropbear
comparison cli-session.c @ 1825:7a0068effc65
Add a comment about sending initial auth request
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 11 Oct 2021 15:12:22 +0800 |
parents | 249681d9ecda |
children | c32976db772f |
comparison
equal
deleted
inserted
replaced
1817:209711833f15 | 1825:7a0068effc65 |
---|---|
243 | 243 |
244 case STATE_NOTHING: | 244 case STATE_NOTHING: |
245 /* We've got the transport layer sorted, we now need to request | 245 /* We've got the transport layer sorted, we now need to request |
246 * userauth */ | 246 * userauth */ |
247 send_msg_service_request(SSH_SERVICE_USERAUTH); | 247 send_msg_service_request(SSH_SERVICE_USERAUTH); |
248 /* We aren't using any "implicit server authentication" methods, | |
249 so don't need to wait for a response for SSH_SERVICE_USERAUTH | |
250 before sending the auth messages (rfc4253 10) */ | |
248 cli_auth_getmethods(); | 251 cli_auth_getmethods(); |
249 cli_ses.state = USERAUTH_REQ_SENT; | 252 cli_ses.state = USERAUTH_REQ_SENT; |
250 TRACE(("leave cli_sessionloop: sent userauth methods req")) | 253 TRACE(("leave cli_sessionloop: sent userauth methods req")) |
251 return; | 254 return; |
252 | 255 |