Fix
This commit is contained in:
@@ -51,9 +51,10 @@ void lockSign() {
|
|||||||
for (i=0; i<32; i++)
|
for (i=0; i<32; i++)
|
||||||
((uint8_t *)ent)[i] = rand();
|
((uint8_t *)ent)[i] = rand();
|
||||||
fprintf(stderr,"@libscott plz make this a high entropy for windows\n");
|
fprintf(stderr,"@libscott plz make this a high entropy for windows\n");
|
||||||
#endif
|
#else
|
||||||
fprintf(stderr, "Could not read 32 bytes entropy from system\n");
|
fprintf(stderr, "Could not read 32 bytes entropy from system\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if (!secp256k1_context_randomize(ec_ctx_sign, ent)) {
|
if (!secp256k1_context_randomize(ec_ctx_sign, ent)) {
|
||||||
fprintf(stderr, "Could not randomize secp256k1 context\n");
|
fprintf(stderr, "Could not randomize secp256k1 context\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user