mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Fix regression introduced by "editing only change".
Signing and verification using a new key works again.
This commit is contained in:
parent
c3db7705c0
commit
b3adbb576e
@ -1953,7 +1953,7 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen,
|
||||
else
|
||||
{
|
||||
/* Fill in public key parameters. */
|
||||
if (algorithm == PUBKEY_ALGO_ECDSA && algorithm == PUBKEY_ALGO_ECDH)
|
||||
if (algorithm == PUBKEY_ALGO_ECDSA || algorithm == PUBKEY_ALGO_ECDH)
|
||||
{
|
||||
/* FIXME: The code in this function ignores the errors. */
|
||||
byte name_oid[256];
|
||||
|
Loading…
x
Reference in New Issue
Block a user