From: Todd C. Miller Date: Sat, 15 Dec 2001 02:21:53 +0000 (+0000) Subject: Apparently a NULL response is OK X-Git-Tag: SUDO_1_6_4~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79df2fa42364548737ad39fba5cebb281221e04c;p=sudo Apparently a NULL response is OK --- diff --git a/auth/pam.c b/auth/pam.c index 98183e879..0400eef5f 100644 --- a/auth/pam.c +++ b/auth/pam.c @@ -165,7 +165,6 @@ sudo_conv(num_msg, msg, response, appdata_ptr) /* Read the password. */ pr->resp = estrdup((char *) tgetpass(p, def_ival(I_PASSWD_TIMEOUT) * 60, tgetpass_flags)); - /* XXX - is a NULL resp OK? */ if (pr->resp == NULL || *pr->resp == '\0') nil_pw = 1; /* empty password */ break;