[BACK]Return to auth2-passwd.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/auth2-passwd.c between version 1.19 and 1.20

version 1.19, 2020/10/18 11:32:01 version 1.20, 2021/12/19 22:12:07
Line 47 
Line 47 
 extern ServerOptions options;  extern ServerOptions options;
   
 static int  static int
 userauth_passwd(struct ssh *ssh)  userauth_passwd(struct ssh *ssh, const char *method)
 {  {
         char *password;          char *password;
         int authenticated = 0, r;          int authenticated = 0, r;
Line 70 
Line 70 
   
 Authmethod method_passwd = {  Authmethod method_passwd = {
         "password",          "password",
           NULL,
         userauth_passwd,          userauth_passwd,
         &options.password_authentication          &options.password_authentication
 };  };

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20