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:
4e2307e
)
Recent changes from 0.9.7-stable
author
Richard Levitte
<levitte@openssl.org>
Mon, 29 Sep 2003 19:02:26 +0000
(19:02 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 29 Sep 2003 19:02:26 +0000
(19:02 +0000)
crypto/bio/bss_file.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_file.c
b/crypto/bio/bss_file.c
index 1f9bd3312af7e4c731a1bdb400c6dba43a589edb..6904b5c081c4af65857985968039f0db0c69de4f 100644
(file)
--- a/
crypto/bio/bss_file.c
+++ b/
crypto/bio/bss_file.c
@@
-215,9
+215,9
@@
static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr)
b->init=1;
#if defined(OPENSSL_SYS_WINDOWS)
if (num & BIO_FP_TEXT)
- _setmode(f
d
,_O_TEXT);
+ _setmode(f
ileno((FILE *)ptr)
,_O_TEXT);
else
- _setmode(f
d
,_O_BINARY);
+ _setmode(f
ileno((FILE *)ptr)
,_O_BINARY);
#elif defined(OPENSSL_SYS_MSDOS)
{
int fd = fileno((FILE*)ptr);