summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-01-13 15:25:30 +0000
committerAndy Polyakov <appro@openssl.org>2005-01-13 15:25:30 +0000
commit5d727078ac8c16ccc0d987234c168a589a2ab767 (patch)
tree4ff9fa8b5c2823eb61a996489ddc27a1413e92cc
parent108159ffcc0a0e0e39b1316a1cf1aea7e985bdfb (diff)
downloadopenssl-new-5d727078ac8c16ccc0d987234c168a589a2ab767.tar.gz
Fix an "oops" typo! Well, it was a debugging left-over...
-rw-r--r--crypto/rand/rand_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c
index d861ab432c..14837a7a7d 100644
--- a/crypto/rand/rand_unix.c
+++ b/crypto/rand/rand_unix.c
@@ -195,7 +195,7 @@ int RAND_poll(void)
for (j=0;j<i;j++)
{
if (randomstats[j].st_ino==st->st_ino &&
- randomstats[j].st_dev!=st->st_dev)
+ randomstats[j].st_dev==st->st_dev)
break;
}
if (j<i) { close(fd); continue; }