mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
Revert "common: Add a default OpenPGP ECC mapping."
This reverts commit 8e63e813c7404e1dae1def98e0f45d148f71082d. The change broke adding existing ECDH encryption subkeys to a key. GnuPG-bug-id: 5555
This commit is contained in:
parent
abf7d3c545
commit
07b0786939
@ -581,7 +581,6 @@ map_gcry_pk_to_openpgp (enum gcry_pk_algos algo)
|
||||
case GCRY_PK_EDDSA: return PUBKEY_ALGO_EDDSA;
|
||||
case GCRY_PK_ECDSA: return PUBKEY_ALGO_ECDSA;
|
||||
case GCRY_PK_ECDH: return PUBKEY_ALGO_ECDH;
|
||||
case GCRY_PK_ECC: return PUBKEY_ALGO_ECDSA; /* Most useful mapping. */
|
||||
default: return algo < 110 ? (pubkey_algo_t)algo : 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user