summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/randfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rand/randfile.c')
-rw-r--r--src/lib/libcrypto/rand/randfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rand/randfile.c b/src/lib/libcrypto/rand/randfile.c
index 1c3e68ef31..215c2616eb 100644
--- a/src/lib/libcrypto/rand/randfile.c
+++ b/src/lib/libcrypto/rand/randfile.c
@@ -144,7 +144,7 @@ int RAND_write_file(const char *file)
144 FILE *out = NULL; 144 FILE *out = NULL;
145 int n; 145 int n;
146 struct stat sb; 146 struct stat sb;
147 147
148 i=stat(file,&sb); 148 i=stat(file,&sb);
149 if (i != -1) { 149 if (i != -1) {
150 if (sb.st_mode & (S_IFBLK | S_IFCHR)) { 150 if (sb.st_mode & (S_IFBLK | S_IFCHR)) {