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:
parent
402aa0f948
commit
a0102a548d
5 changed files with 4 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue