Create ~/.rnd with mode 0600 instead of 0666
[openssl.git] / crypto / rand / randfile.c
index bd42f21356af02fb42cd4fff738588d69d18219d..7b4c7dc319e01467787ebc24ed62c389f41adb76 100644 (file)
@@ -80,6 +80,7 @@
 #endif
 #ifndef OPENSSL_NO_POSIX_IO
 # include <sys/stat.h>
+# include <fcntl.h>
 #endif
 
 #ifdef _WIN32