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
102 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { in readpassphrase()
103 memcpy(&term, &oterm, sizeof(term)); in readpassphrase()
114 memset(&oterm, 0, sizeof(oterm)); in readpassphrase()
115 oterm.c_lflag |= ECHO; in readpassphrase()
159 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase()
163 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()