diff options
Diffstat (limited to 'auth-bsdauth.c')
-rw-r--r-- | auth-bsdauth.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/auth-bsdauth.c b/auth-bsdauth.c index 0b3262b49..37ff893e6 100644 --- a/auth-bsdauth.c +++ b/auth-bsdauth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth-bsdauth.c,v 1.11 2007/09/21 08:15:29 djm Exp $ */ | 1 | /* $OpenBSD: auth-bsdauth.c,v 1.13 2014/06/24 01:13:21 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -26,6 +26,8 @@ | |||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | 27 | ||
28 | #include <sys/types.h> | 28 | #include <sys/types.h> |
29 | #include <stdarg.h> | ||
30 | #include <stdio.h> | ||
29 | 31 | ||
30 | #include <stdarg.h> | 32 | #include <stdarg.h> |
31 | 33 | ||
@@ -54,6 +56,11 @@ bsdauth_query(void *ctx, char **name, char **infotxt, | |||
54 | Authctxt *authctxt = ctx; | 56 | Authctxt *authctxt = ctx; |
55 | char *challenge = NULL; | 57 | char *challenge = NULL; |
56 | 58 | ||
59 | *infotxt = NULL; | ||
60 | *numprompts = 0; | ||
61 | *prompts = NULL; | ||
62 | *echo_on = NULL; | ||
63 | |||
57 | if (authctxt->as != NULL) { | 64 | if (authctxt->as != NULL) { |
58 | debug2("bsdauth_query: try reuse session"); | 65 | debug2("bsdauth_query: try reuse session"); |
59 | challenge = auth_getitem(authctxt->as, AUTHV_CHALLENGE); | 66 | challenge = auth_getitem(authctxt->as, AUTHV_CHALLENGE); |