diff options
author | Colin Watson <cjwatson@debian.org> | 2015-11-29 17:36:13 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-11-29 17:39:41 +0000 |
commit | 2028ecabc263b3e43903b8d170f4bbd07fe408e9 (patch) | |
tree | 565242aad1c1d73b6d99f9bf2c62278fca5bdd8c /auth.c | |
parent | 18a9bd1867ee6fb9d913515773b322a279759b5d (diff) | |
parent | 733c4de05612fe398ac3dc7d31d318d7012fda05 (diff) |
New upstream release (7.1p1).
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.c,v 1.112 2015/08/06 14:53:21 deraadt Exp $ */ | 1 | /* $OpenBSD: auth.c,v 1.113 2015/08/21 03:42:19 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -354,7 +354,7 @@ auth_root_allowed(const char *method) | |||
354 | case PERMIT_NO_PASSWD: | 354 | case PERMIT_NO_PASSWD: |
355 | if (strcmp(method, "publickey") == 0 || | 355 | if (strcmp(method, "publickey") == 0 || |
356 | strcmp(method, "hostbased") == 0 || | 356 | strcmp(method, "hostbased") == 0 || |
357 | strcmp(method, "gssapi-with-mic")) | 357 | strcmp(method, "gssapi-with-mic") == 0) |
358 | return 1; | 358 | return 1; |
359 | break; | 359 | break; |
360 | case PERMIT_FORCED_ONLY: | 360 | case PERMIT_FORCED_ONLY: |