projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c14b4d6
)
tty_in will never be stderr, so it will always be closed, which means stdin
author
Richard Levitte
<levitte@openssl.org>
Mon, 13 Jan 2003 13:15:16 +0000
(13:15 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 13 Jan 2003 13:15:16 +0000
(13:15 +0000)
might get closed...
Reported by Mark Daniel <Mark.Daniel@wasd.vsm.com.au>
crypto/ui/ui_openssl.c
patch
|
blob
|
history
diff --git
a/crypto/ui/ui_openssl.c
b/crypto/ui/ui_openssl.c
index e1a872ef7ca278460386def3dcd52e6e7c506dd7..75318d48a14290ddd7dc84eeba9ba2486d368634 100644
(file)
--- a/
crypto/ui/ui_openssl.c
+++ b/
crypto/ui/ui_openssl.c
@@
-550,7
+550,7
@@
static int echo_console(UI *ui)
static int close_console(UI *ui)
{
- if (tty_in != std
err
) fclose(tty_in);
+ if (tty_in != std
in
) fclose(tty_in);
if (tty_out != stderr) fclose(tty_out);
#ifdef OPENSSL_SYS_VMS
status = sys$dassgn(channel);