]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - openssh/patches/openssh-6.1p1-required-authentications.patch
openssh: Update to 6.1p1.
[people/arne_f/ipfire-3.x.git] / openssh / patches / openssh-6.1p1-required-authentications.patch
CommitLineData
43c69e28
SS
1diff -up openssh-6.1p1/servconf.c.required-authentication openssh-6.1p1/servconf.c
2--- openssh-6.1p1/servconf.c.required-authentication 2012-11-30 21:13:14.375382453 +0100
3+++ openssh-6.1p1/servconf.c 2012-11-30 21:33:56.972017545 +0100
4@@ -495,6 +495,8 @@ static struct {
5 { "authorizedkeyscommandrunas", sAuthorizedKeysCommandUser, SSHCFG_ALL },
6 { "authorizedkeyscommanduser", sAuthorizedKeysCommandUser, SSHCFG_ALL },
7 { "authenticationmethods", sAuthenticationMethods, SSHCFG_ALL },
8+ { "requiredauthentications1", sAuthenticationMethods, SSHCFG_ALL },
9+ { "requiredauthentications2", sAuthenticationMethods, SSHCFG_ALL },
10 { NULL, sBadOption, 0 }
11 };
12
13@@ -1560,6 +1562,9 @@ process_server_config_line(ServerOptions
14 return 0;
15
16 case sAuthenticationMethods:
17+ if (strncasecmp(arg, "requiredauthentications", 23) == 0)
18+ logit("%s line %d: Option %s is obsolete. Please use AuthenticationMethods",
19+ filename, linenum, arg);
20 if (*activep && options->num_auth_methods == 0) {
21 while ((arg = strdelim(&cp)) && *arg != '\0') {
22 if (options->num_auth_methods >=