diff options
Diffstat (limited to 'auth2-gss.c')
-rw-r--r-- | auth2-gss.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/auth2-gss.c b/auth2-gss.c index 0e08d889c..0d59b2177 100644 --- a/auth2-gss.c +++ b/auth2-gss.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2-gss.c,v 1.16 2007/10/29 00:52:45 dtucker Exp $ */ | 1 | /* $OpenBSD: auth2-gss.c,v 1.17 2011/03/10 02:52:57 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. | 4 | * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. |
@@ -102,6 +102,7 @@ userauth_gssapi(Authctxt *authctxt) | |||
102 | 102 | ||
103 | if (!present) { | 103 | if (!present) { |
104 | xfree(doid); | 104 | xfree(doid); |
105 | authctxt->server_caused_failure = 1; | ||
105 | return (0); | 106 | return (0); |
106 | } | 107 | } |
107 | 108 | ||
@@ -109,6 +110,7 @@ userauth_gssapi(Authctxt *authctxt) | |||
109 | if (ctxt != NULL) | 110 | if (ctxt != NULL) |
110 | ssh_gssapi_delete_ctx(&ctxt); | 111 | ssh_gssapi_delete_ctx(&ctxt); |
111 | xfree(doid); | 112 | xfree(doid); |
113 | authctxt->server_caused_failure = 1; | ||
112 | return (0); | 114 | return (0); |
113 | } | 115 | } |
114 | 116 | ||