* pubkey.c (gcry_pk_encrypt): Find the signature algorithm by name
authorWerner Koch <wk@gnupg.org>
Mon, 10 Dec 2001 17:31:10 +0000 (17:31 +0000)
committerWerner Koch <wk@gnupg.org>
Mon, 10 Dec 2001 17:31:10 +0000 (17:31 +0000)
commit906deb96b55a60e58dc39637dd636b110afd11c6
treeeff9b93d6697694808122b869cc6cf108438da64
parentebcbc6ae00e75a25a5ab8308592aed210d8f1668
* pubkey.c (gcry_pk_encrypt): Find the signature algorithm by name
and not by number.

* pubkey.c (gcry_pk_encrypt,gcry_pk_decrypt,gcry_pk_sign)
(gcry_pk_verify,gcry_pk_testkey, gcry_pk_genkey)
(gcry_pk_get_nbits): Release the arrays.  Noted by Nikos
Mavroyanopoulos.
cipher/ChangeLog
cipher/pubkey.c