gpg: Start using OpenPGP digest algo ids.
authorWerner Koch <wk@gnupg.org>
Fri, 31 Jan 2014 14:33:03 +0000 (15:33 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 31 Jan 2014 14:33:03 +0000 (15:33 +0100)
commitbf50604a0d50b974c1d4b8ccf5d774489f996cae
tree98727debd304abd9e1eec56fe738200fc0053984
parent16a6311adefff0139056714521214f845315b7f8
gpg: Start using OpenPGP digest algo ids.

* g10/misc.c (print_pubkey_algo_note): Use enum typedef for the arg.
(print_cipher_algo_note): Ditto.
(print_digest_algo_note): Ditto.
(map_md_openpgp_to_gcry): New.
(openpgp_md_test_algo): Rewrite.
(openpgp_md_algo_name): Rewrite to do without Libgcrypt.
* g10/cpr.c (write_status_begin_signing): Remove hardwired list of
algo ranges.
g10/cpr.c
g10/main.h
g10/misc.c