1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fixed auto generation of the key stub.

Fixed bug 851.
Allow decryption using type 20 Elgamal keys.
This commit is contained in:
Werner Koch 2007-12-10 15:34:20 +00:00
parent aa9aec7068
commit 0e927e3941
5 changed files with 65 additions and 4 deletions

View file

@ -413,6 +413,7 @@ openpgp_pk_algo_usage ( int algo )
case PUBKEY_ALGO_RSA_S:
use = PUBKEY_USAGE_CERT | PUBKEY_USAGE_SIG;
break;
case PUBKEY_ALGO_ELGAMAL:
case PUBKEY_ALGO_ELGAMAL_E:
use = PUBKEY_USAGE_ENC;
break;