Skip to content

Commit

Permalink
Update examples/ellswift.c
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
  • Loading branch information
Cheapshot003 and theStack authored Sep 6, 2024
1 parent 839c00e commit cce986c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/ellswift.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ int main(void) {

/*** Generate secret keys ***/

/* If the secret key is zero or out of range (greater than secp256k1's
* order), we return 1. Note that the probability of this occurring
* is negligible with a properly functioning random number generator. */
/* If the secret key is zero or out of range (greater than secp256k1's
* order), we return 1. Note that the probability of this occurring
* is negligible with a properly functioning random number generator. */
if (!fill_random(seckey1, sizeof(seckey1)) || !fill_random(seckey2, sizeof(seckey2))) {
printf("Failed to generate randomness\n");
return 1;
Expand Down

0 comments on commit cce986c

Please sign in to comment.