From 0e96cdc6b68385cfe216b998630a078332f1fcc1 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Wed, 29 Nov 2017 12:32:01 +1100 Subject: [PATCH] fix typo, s/changed/unchanged --- src/tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests.c b/src/tests.c index f307b99d5af45..12591f85dfcb0 100644 --- a/src/tests.c +++ b/src/tests.c @@ -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);