Explorar o código

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

Tatsuhiro Tsujikawa %!s(int64=14) %!d(string=hai) anos
pai
achega
2b68f72fa6
Modificáronse 1 ficheiros con 1 adicións e 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__
 }