[PATCH] g10: Fix ECDH secret compressed/uncompressed format

Arnaud Fontaine arnaud.fontaine at ssi.gouv.fr
Tue Oct 25 09:57:37 CEST 2016


>>> +    else
>>> +      {
>>> +        /* Compressed format expected, without leading zeros */
>>> +        if (nbytes < secret_x_size)
>>
>> Please use an "else if ()" here.
> Well, I am sorry but I don't see what test can be done here.
Oh ok, sorry, I see what you mean



More information about the Gnupg-devel mailing list