summaryrefslogtreecommitdiff
path: root/auth-bsdauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-bsdauth.c')
-rw-r--r--auth-bsdauth.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/auth-bsdauth.c b/auth-bsdauth.c
index 0b3262b49..f4209c22a 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.12 2014/03/12 04:50:32 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -54,6 +54,11 @@ bsdauth_query(void *ctx, char **name, char **infotxt,
54 Authctxt *authctxt = ctx; 54 Authctxt *authctxt = ctx;
55 char *challenge = NULL; 55 char *challenge = NULL;
56 56
57 *infotxt = NULL;
58 *numprompts = 0;
59 *prompts = NULL;
60 *echo_on = NULL;
61
57 if (authctxt->as != NULL) { 62 if (authctxt->as != NULL) {
58 debug2("bsdauth_query: try reuse session"); 63 debug2("bsdauth_query: try reuse session");
59 challenge = auth_getitem(authctxt->as, AUTHV_CHALLENGE); 64 challenge = auth_getitem(authctxt->as, AUTHV_CHALLENGE);