mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Workaround for Windoze weirdness.
This commit is contained in:
parent
4a56f7493c
commit
bf8479d22f
@ -157,8 +157,10 @@ int RAND_write_file(const char *file)
|
||||
int fd = open(file, O_CREAT | O_EXCL, 0600);
|
||||
if (fd != -1)
|
||||
out = fdopen(fd, "wb");
|
||||
#else
|
||||
out=fopen(file,"wb");
|
||||
else /* the open(...) reportedly fails on Win98 w/ VisualC */
|
||||
out = fopen(file,"wb");
|
||||
#else
|
||||
out = fopen(file,"wb");
|
||||
#endif
|
||||
}
|
||||
if (out == NULL) goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user