Browse Source

fix typo, s/changed/unchanged

master
Daniel Cousens 5 years ago committed by GitHub
parent
commit
0e96cdc6b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/tests.c

2
src/tests.c

@ -3177,7 +3177,7 @@ void run_eckey_edge_case_test(void) { @@ -3177,7 +3177,7 @@ void run_eckey_edge_case_test(void) {
VG_CHECK(&pubkey, sizeof(pubkey));
CHECK(memcmp(&pubkey, zeros, sizeof(secp256k1_pubkey)) > 0);
pubkey_negone = pubkey;
/* Tweak of zero leaves the value changed. */
/* Tweak of zero leaves the value unchanged. */
memset(ctmp2, 0, 32);
CHECK(secp256k1_ec_privkey_tweak_add(ctx, ctmp, ctmp2) == 1);
CHECK(memcmp(orderc, ctmp, 31) == 0 && ctmp[31] == 0x40);

Loading…
Cancel
Save