OSSP CVS Repository

ossp - Difference in ossp-pkg/uuid/uuid_prng.c versions 1.9 and 1.10
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/uuid/uuid_prng.c 1.9 -> 1.10

--- uuid_prng.c  2005/09/20 20:29:10     1.9
+++ uuid_prng.c  2005/09/24 10:28:32     1.10
@@ -141,7 +141,7 @@
         /* store MD5 engine state as PRN output */
         md5_ptr = md5_buf;
         md5_len = sizeof(md5_buf);
-        if (md5_store(prng->md5, (void *)&md5_ptr, &md5_len) != MD5_RC_OK)
+        if (md5_store(prng->md5, (void **)(void *)&md5_ptr, &md5_len) != MD5_RC_OK)
             return PRNG_RC_INT;
         for (i = 0; i < MD5_LEN_BIN && n > 0; i++, n--)
             *p++ ^= md5_buf[i]; /* intentionally no assignment because arbitrary

CVSTrac 2.0.1