1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fix minor compiler warnings.

--
This commit is contained in:
Werner Koch 2013-11-15 09:23:40 +01:00
parent 402aa0f948
commit a0102a548d
5 changed files with 4 additions and 11 deletions

View file

@ -1991,7 +1991,7 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen,
for (i = 0; i < npkey; i++)
{
if ((algorithm == PUBKEY_ALGO_ECDSA && (i == 0))
|| (algorithm == PUBKEY_ALGO_ECDH) && (i == 0 || i == 2))
|| ((algorithm == PUBKEY_ALGO_ECDH) && (i == 0 || i == 2)))
{
size_t n;
err = read_size_body (inp, pktlen, &n, pk->pkey+i);