* pubkey.c (setup_pubkey_table): Don't allow signatures to and from
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 4 Dec 2003 05:17:56 +0000 (05:17 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 4 Dec 2003 05:17:56 +0000 (05:17 +0000)
commitb5fe8d3dd7acffa4e8226202a3314d7141861ecd
treea3cf61672970b718150fc05b6099cc9b9b782968
parent189dea77ea53d294ba31ecab1f175538950a16f0
* pubkey.c (setup_pubkey_table): Don't allow signatures to and from
encrypt-only Elgamal keys. (pubkey_get_npkey, pubkey_get_nskey,
pubkey_get_nsig, pubkey_get_nenc, pubkey_nbits): Wrap the RSA cheats in
!USE_RSA. Add cheats for sign+encrypt Elgamal.
cipher/ChangeLog
cipher/pubkey.c