diff options
author | Werner Koch <[email protected]> | 2011-02-03 15:39:03 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-02-03 15:39:03 +0000 |
commit | 38904b697c4d27a70281149c6070e6dfca4e893b (patch) | |
tree | 72ae98a01f64dbe2df74d9687faba0c97159d799 /g10/getkey.c | |
parent | Add gitattributes (diff) | |
parent | Finished ECC integration. (diff) | |
download | gnupg-38904b697c4d27a70281149c6070e6dfca4e893b.tar.gz gnupg-38904b697c4d27a70281149c6070e6dfca4e893b.zip |
Merge branch 'ECC-INTEGRATION-2-1'ecc-integration-done
Diffstat (limited to 'g10/getkey.c')
-rw-r--r-- | g10/getkey.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/getkey.c b/g10/getkey.c index f114920d2..65f5829dc 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -138,7 +138,10 @@ cache_public_key (PKT_public_key * pk) return; if (is_ELGAMAL (pk->pubkey_algo) - || pk->pubkey_algo == PUBKEY_ALGO_DSA || is_RSA (pk->pubkey_algo)) + || pk->pubkey_algo == PUBKEY_ALGO_DSA + || pk->pubkey_algo == PUBKEY_ALGO_ECDSA + || pk->pubkey_algo == PUBKEY_ALGO_ECDH + || is_RSA (pk->pubkey_algo)) { keyid_from_pk (pk, keyid); } |