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:
parent
aa9aec7068
commit
0e927e3941
5 changed files with 65 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue