mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix for bug 851.
Fixed auto generation of the stub key for the card. Allow to encrypt toElgamal encryption keys of type 20.
This commit is contained in:
parent
e2aefc427e
commit
bc482052f8
5 changed files with 64 additions and 5 deletions
|
@ -379,6 +379,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