Home
last modified time | relevance | path

Searched refs:oterm (Results 1 – 1 of 1) sorted by relevance

/external/openssh/openbsd-compat/
Dreadpassphrase.c67 struct termios term, oterm; in readpassphrase() local
116 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { in readpassphrase()
117 memcpy(&term, &oterm, sizeof(term)); in readpassphrase()
128 memset(&oterm, 0, sizeof(oterm)); in readpassphrase()
129 oterm.c_lflag |= ECHO; in readpassphrase()
158 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase()
159 while (tcsetattr(input, _T_FLUSH, &oterm) == -1 && in readpassphrase()