From a0102a548d0e2ed2fce74ba4a21adf26bc352641 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 15 Nov 2013 09:23:40 +0100 Subject: Fix minor compiler warnings. -- --- g10/parse-packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/parse-packet.c') diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 3b2698fcb..f4390c38a 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -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); -- cgit v1.2.3