Fix an "oops" typo! Well, it was a debugging left-over...
authorAndy Polyakov <appro@openssl.org>
Thu, 13 Jan 2005 15:25:30 +0000 (15:25 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 13 Jan 2005 15:25:30 +0000 (15:25 +0000)
crypto/rand/rand_unix.c

index d861ab4..14837a7 100644 (file)
@@ -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; }