提交 3012e650 编写于 作者: M Matt Caswell

Fix the no-posix-io option

Fix a compile failure with no-posix-io
Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 f8c3f2b4
...@@ -252,7 +252,7 @@ int RAND_write_file(const char *file) ...@@ -252,7 +252,7 @@ int RAND_write_file(const char *file)
if (out == NULL) if (out == NULL)
goto err; goto err;
#ifndef NO_CHMOD #if !defined(NO_CHMOD) && !defined(OPENSSL_NO_POSIX_IO)
chmod(file, 0600); chmod(file, 0600);
#endif #endif
n = RAND_DATA; n = RAND_DATA;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册