projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This _WIN32-specific patch makes it possible to "wrap" OpenSSL in another
[openssl.git]
/
crypto
/
bio
/
bss_file.c
diff --git
a/crypto/bio/bss_file.c
b/crypto/bio/bss_file.c
index 545c1b2bdd4ad1ce70af4cf1d12b7bc6224f0c62..480208a31592adffb7d3ea37f4a53129814cd82b 100644
(file)
--- a/
crypto/bio/bss_file.c
+++ b/
crypto/bio/bss_file.c
@@
-279,7
+279,7
@@
static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr)
#endif
{
#if defined(OPENSSL_SYS_WINDOWS)
#endif
{
#if defined(OPENSSL_SYS_WINDOWS)
- int fd = fileno((FILE*)ptr);
+ int fd =
_
fileno((FILE*)ptr);
if (num & BIO_FP_TEXT)
_setmode(fd,_O_TEXT);
else
if (num & BIO_FP_TEXT)
_setmode(fd,_O_TEXT);
else