diff options
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r-- | crypto/rand/randfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index a5b2b7f162..3ee6bf5a16 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -252,7 +252,7 @@ int RAND_write_file(const char *file) if (out == NULL) goto err; -#ifndef NO_CHMOD +#if !defined(NO_CHMOD) && !defined(OPENSSL_NO_POSIX_IO) chmod(file, 0600); #endif n = RAND_DATA; |