Explorar el Código

Fixed bug that generateRandomData() does not populate data at the
first call.

Tatsuhiro Tsujikawa hace 14 años
padre
commit
2b68f72fa6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/util.cc

+ 1 - 0
src/util.cc

@@ -1437,6 +1437,7 @@ void generateRandomData(unsigned char* data, size_t length)
     } else {
       method = 0;
     }
+    generateRandomData(data, length);
   }
 #endif // !__MINGW32__
 }