From bc482052f84e8340e0eebb540c39d143fac120af Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 10 Dec 2007 15:19:34 +0000 Subject: Fix for bug 851. Fixed auto generation of the stub key for the card. Allow to encrypt toElgamal encryption keys of type 20. --- g10/misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'g10/misc.c') diff --git a/g10/misc.c b/g10/misc.c index f02601fc4..5f9af54c3 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -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; -- cgit v1.2.3