updates
[silc.git] / lib / silccrypt / silcrng.c
index 051e222cc847d5395a130eec45f8509f3ad35b8a..7bed81e138e9997fd34e502a42ce24e969f516a4 100644 (file)
@@ -350,7 +350,7 @@ static void silc_rng_exec_command(SilcRng rng, char *command)
   pclose(fd);
   
   /* Add the buffer into random pool */
-  silc_rng_add_noise(rng, buf, strlen(buf));
+  silc_rng_add_noise(rng, buf, i);
   memset(buf, 0, sizeof(buf));
 #endif
 }