1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-07 17:33:02 +01:00
NIIBE Yutaka 74258278ef 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 <gniibe@fsij.org>
2017-04-13 12:54:52 +09:00
..
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-28 12:11:02 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-04-12 08:47:23 +09:00
2017-03-07 20:25:54 +09:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2017-04-12 14:47:30 +09:00
2017-03-07 20:25:54 +09:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-04-13 12:54:52 +09:00
2017-03-07 20:25:54 +09:00
2017-03-20 08:40:21 +01:00
2016-01-22 10:54:10 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-01-23 19:16:55 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-31 20:07:20 +02:00
2017-01-23 19:16:55 +01:00
2016-03-08 14:08:49 +01:00
2017-03-07 20:25:54 +09:00
2017-03-31 20:07:20 +02:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2017-04-12 14:47:30 +09:00
2016-12-06 12:16:56 +01:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00