summaryrefslogtreecommitdiff
path: root/auth2-chall.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-chall.c')
-rw-r--r--auth2-chall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-chall.c b/auth2-chall.c
index ad4f7ac42..be741010e 100644
--- a/auth2-chall.c
+++ b/auth2-chall.c
@@ -23,7 +23,7 @@
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2-chall.c,v 1.5 2001/05/18 14:13:28 markus Exp $"); 26RCSID("$OpenBSD: auth2-chall.c,v 1.6 2001/06/03 20:06:11 markus Exp $");
27 27
28#include "ssh2.h" 28#include "ssh2.h"
29#include "auth.h" 29#include "auth.h"
@@ -149,7 +149,7 @@ auth2_challenge(Authctxt *authctxt, char *devs)
149 authctxt->user ? authctxt->user : "<nouser>", 149 authctxt->user ? authctxt->user : "<nouser>",
150 devs ? devs : "<no devs>"); 150 devs ? devs : "<no devs>");
151 151
152 if (!authctxt->valid || authctxt->user == NULL || !devs) 152 if (authctxt->user == NULL || !devs)
153 return 0; 153 return 0;
154 if (authctxt->kbdintctxt == NULL) 154 if (authctxt->kbdintctxt == NULL)
155 authctxt->kbdintctxt = kbdint_alloc(devs); 155 authctxt->kbdintctxt = kbdint_alloc(devs);