Merge branch 'maint-0.4.2' into maint-0.4.3

This commit is contained in:
Nick Mathewson
2020-03-17 11:45:16 -04:00
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -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)) {