diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-03-17 11:45:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-03-17 11:45:16 -0400 |
commit | bbc80ea042a124a5935bd4264677180efdcb2da2 (patch) | |
tree | d812ce1d8004afc76e41863d3cf20f665e6e99d3 /src/lib/crypt_ops | |
parent | 855cd533e17f4dc4cd055fa8bb31ee3b187451dc (diff) | |
parent | e15a621ac81c472f69a082180fa9b4ed39274e43 (diff) | |
download | tor-bbc80ea042a124a5935bd4264677180efdcb2da2.tar.gz tor-bbc80ea042a124a5935bd4264677180efdcb2da2.zip |
Merge branch 'maint-0.4.2' into maint-0.4.3
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r-- | src/lib/crypt_ops/crypto_ed25519.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypt_ops/crypto_ed25519.c b/src/lib/crypt_ops/crypto_ed25519.c index bd97f76284..f242c7011e 100644 --- a/src/lib/crypt_ops/crypto_ed25519.c +++ b/src/lib/crypt_ops/crypto_ed25519.c @@ -795,7 +795,7 @@ ed25519_point_is_identity_element(const uint8_t *point) int ed25519_validate_pubkey(const ed25519_public_key_t *pubkey) { - uint8_t result[32] = {9}; + uint8_t result[32] = {0}; /* First check that we were not given the identity element */ if (ed25519_point_is_identity_element(pubkey->pubkey)) { |