1
0
Fork 0
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:
Werner Koch 2007-12-10 15:19:34 +00:00
parent e2aefc427e
commit bc482052f8
5 changed files with 64 additions and 5 deletions

View file

@ -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;