]> Git Repo - VerusCoin.git/commitdiff
Windows rag
authorjl777 <[email protected]>
Sat, 18 Aug 2018 15:54:03 +0000 (04:54 -1100)
committerjl777 <[email protected]>
Sat, 18 Aug 2018 15:54:03 +0000 (04:54 -1100)
src/cryptoconditions/src/secp256k1.c

index c1eb8276501db35340209ab0a56848b79837444a..6b616705bfe8d1b8df0024adeb6f4deb8140cfcc 100644 (file)
@@ -46,6 +46,12 @@ void lockSign() {
     fclose(fp);
 #endif
     if (read != 32) {
+#ifdef _WIN32
+        int32_t i;
+        for (i=0; i<32; i++)
+            ((uint8_t *)ent)[i] = rand();
+        fprintf(stderr,"@libscott plz make this a high entropy for windows\n");
+#endif
         fprintf(stderr, "Could not read 32 bytes entropy from system\n");
         exit(1);
     }
This page took 0.026845 seconds and 4 git commands to generate.