aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/read_pwd.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-06-07 20:26:51 +0000
committerBodo Möller <bodo@openssl.org>1999-06-07 20:26:51 +0000
commitb1c4fe36258dde2950f59fec5d5f86743e495d9d (patch)
treefbb2d22a4ba3bf5b591fbe3fdba22074ca793300 /crypto/des/read_pwd.c
parent9e06f6f6019198e3f84cbfc9ff5d561400db4d7e (diff)
downloadopenssl-b1c4fe36258dde2950f59fec5d5f86743e495d9d.tar.gz
Don't mix real tabs with tabs expanded as 8 spaces -- that's
a pain to read when using 4-space tabs.
Diffstat (limited to 'crypto/des/read_pwd.c')
-rw-r--r--crypto/des/read_pwd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c
index 8ac1f1e36e..d280aa14a5 100644
--- a/crypto/des/read_pwd.c
+++ b/crypto/des/read_pwd.c
@@ -476,11 +476,11 @@ static int noecho_fgets(char *buf, int size, FILE *tty)
* usually a CR so this can be trouble. No STDIO fix seems to work but
* flushing the console appears to do the trick.
*/
- {
- HANDLE inh;
- inh = GetStdHandle(STD_INPUT_HANDLE);
- FlushConsoleInputBuffer(inh);
- }
+ {
+ HANDLE inh;
+ inh = GetStdHandle(STD_INPUT_HANDLE);
+ FlushConsoleInputBuffer(inh);
+ }
#endif
return(strlen(buf));
}