diff options
author | NIIBE Yutaka <[email protected]> | 2017-04-13 03:54:52 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-04-13 03:54:52 +0000 |
commit | 74258278efacd7069e8c1df8ff6fc3f4675d713e (patch) | |
tree | 9d524e133a7715f4836e5e6351455a42b897e20c /dirmngr/dirmngr.c | |
parent | dirmngr: More fix for Windows. (diff) | |
download | gnupg-74258278efacd7069e8c1df8ff6fc3f4675d713e.tar.gz gnupg-74258278efacd7069e8c1df8ff6fc3f4675d713e.zip |
common, g10: Fix enumeration types.
* common/openpgpdefs.h (CIPHER_ALGO_PRIVATE10, PUBKEY_ALGO_PRIVATE10)
(DIGEST_ALGO_PRIVATE10, COMPRESS_ALGO_PRIVATE10): New.
* g10/misc.c (map_pk_gcry_to_openpgp): Add type conversion.
(map_cipher_openpgp_to_gcry, openpgp_cipher_algo_name)
(openpgp_pk_test_algo2, map_md_openpgp_to_gcry)
(pubkey_get_npkey): Add default handling.
--
Compilers may emit code assuming the maximum value of enum type.
According to OpenPGP specification, there are cases for private uses.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/dirmngr.c')
0 files changed, 0 insertions, 0 deletions