View | Details | Raw Unified | Return to bug 20909
Collapse All | Expand All

(-)pam_opie.c (-1 / +1 lines)
Lines 79-85 Link Here
79
		opieunlock();
79
		opieunlock();
80
		return retval;
80
		return retval;
81
	}
81
	}
82
	if (response[0] == '\0' && !(options & PAM_OPT_ECHO_PASS)) {
82
	if (response[0] == '\0' && (options & PAM_OPT_ECHO_PASS)) {
83
		options |= PAM_OPT_ECHO_PASS;
83
		options |= PAM_OPT_ECHO_PASS;
84
		snprintf(prompt, sizeof prompt,
84
		snprintf(prompt, sizeof prompt,
85
			 "%s\nPassword [echo on]: ", challenge);
85
			 "%s\nPassword [echo on]: ", challenge);

Return to bug 20909