diff options
Diffstat (limited to 'debian/patches/debian-banner.patch')
-rw-r--r-- | debian/patches/debian-banner.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/debian/patches/debian-banner.patch b/debian/patches/debian-banner.patch index e608bd20d..b0761420e 100644 --- a/debian/patches/debian-banner.patch +++ b/debian/patches/debian-banner.patch | |||
@@ -10,15 +10,15 @@ Index: b/servconf.c | |||
10 | =================================================================== | 10 | =================================================================== |
11 | --- a/servconf.c | 11 | --- a/servconf.c |
12 | +++ b/servconf.c | 12 | +++ b/servconf.c |
13 | @@ -135,6 +135,7 @@ | 13 | @@ -136,6 +136,7 @@ |
14 | options->zero_knowledge_password_authentication = -1; | ||
15 | options->revoked_keys_file = NULL; | 14 | options->revoked_keys_file = NULL; |
16 | options->trusted_user_ca_keys = NULL; | 15 | options->trusted_user_ca_keys = NULL; |
16 | options->authorized_principals_file = NULL; | ||
17 | + options->debian_banner = -1; | 17 | + options->debian_banner = -1; |
18 | } | 18 | } |
19 | 19 | ||
20 | void | 20 | void |
21 | @@ -277,6 +278,8 @@ | 21 | @@ -278,6 +279,8 @@ |
22 | options->permit_tun = SSH_TUNMODE_NO; | 22 | options->permit_tun = SSH_TUNMODE_NO; |
23 | if (options->zero_knowledge_password_authentication == -1) | 23 | if (options->zero_knowledge_password_authentication == -1) |
24 | options->zero_knowledge_password_authentication = 0; | 24 | options->zero_knowledge_password_authentication = 0; |
@@ -27,23 +27,23 @@ Index: b/servconf.c | |||
27 | 27 | ||
28 | /* Turn privilege separation on by default */ | 28 | /* Turn privilege separation on by default */ |
29 | if (use_privsep == -1) | 29 | if (use_privsep == -1) |
30 | @@ -325,6 +328,7 @@ | 30 | @@ -326,6 +329,7 @@ |
31 | sUsePrivilegeSeparation, sAllowAgentForwarding, | 31 | sUsePrivilegeSeparation, sAllowAgentForwarding, |
32 | sZeroKnowledgePasswordAuthentication, sHostCertificate, | 32 | sZeroKnowledgePasswordAuthentication, sHostCertificate, |
33 | sRevokedKeys, sTrustedUserCAKeys, | 33 | sRevokedKeys, sTrustedUserCAKeys, sAuthorizedPrincipalsFile, |
34 | + sDebianBanner, | 34 | + sDebianBanner, |
35 | sDeprecated, sUnsupported | 35 | sDeprecated, sUnsupported |
36 | } ServerOpCodes; | 36 | } ServerOpCodes; |
37 | 37 | ||
38 | @@ -457,6 +461,7 @@ | 38 | @@ -459,6 +463,7 @@ |
39 | { "hostcertificate", sHostCertificate, SSHCFG_GLOBAL }, | ||
40 | { "revokedkeys", sRevokedKeys, SSHCFG_ALL }, | 39 | { "revokedkeys", sRevokedKeys, SSHCFG_ALL }, |
41 | { "trustedusercakeys", sTrustedUserCAKeys, SSHCFG_ALL }, | 40 | { "trustedusercakeys", sTrustedUserCAKeys, SSHCFG_ALL }, |
41 | { "authorizedprincipalsfile", sAuthorizedPrincipalsFile, SSHCFG_ALL }, | ||
42 | + { "debianbanner", sDebianBanner, SSHCFG_GLOBAL }, | 42 | + { "debianbanner", sDebianBanner, SSHCFG_GLOBAL }, |
43 | { NULL, sBadOption, 0 } | 43 | { NULL, sBadOption, 0 } |
44 | }; | 44 | }; |
45 | 45 | ||
46 | @@ -1386,6 +1391,10 @@ | 46 | @@ -1392,6 +1397,10 @@ |
47 | charptr = &options->revoked_keys_file; | 47 | charptr = &options->revoked_keys_file; |
48 | goto parse_filename; | 48 | goto parse_filename; |
49 | 49 | ||
@@ -85,7 +85,7 @@ Index: b/sshd_config.5 | |||
85 | =================================================================== | 85 | =================================================================== |
86 | --- a/sshd_config.5 | 86 | --- a/sshd_config.5 |
87 | +++ b/sshd_config.5 | 87 | +++ b/sshd_config.5 |
88 | @@ -295,6 +295,11 @@ | 88 | @@ -340,6 +340,11 @@ |
89 | .Dq no . | 89 | .Dq no . |
90 | The default is | 90 | The default is |
91 | .Dq delayed . | 91 | .Dq delayed . |