Commit 3012e650 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix the no-posix-io option



Fix a compile failure with no-posix-io

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
parent f8c3f2b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;