1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-30 16:17:02 +01:00
NIIBE Yutaka 591a8373a5 agent: More clean up of SSH support.
* common/util.h (get_pk_algo_from_key): New.
* common/sexputil.c (get_pk_algo_from_key): The implementation.
* agent/gpg-agent.c: Remove include of openpgpdefs.h.
* agent/command-ssh.c (struct ssh_key_type_spec): Use integer ALGO.
(ssh_key_types): Update with GCRY_PK_*.
(make_cstring, sexp_extract_identifier): Remove.
(sexp_key_construct): Use gcry_pk_algo_name to get ALGO string.
(ssh_key_to_blob): Use cadr to get value list.
(ssh_key_type_lookup): Lookup with integer ALGO.
(ssh_receive_key): Follow the change of ssh_key_type_lookup.
(ssh_send_key_public): Likewise.  Use get_pk_algo_from_key to get ALGO.

--

This fixes the regresson introduced by the commit
894789c3299dc47a8c1ccaaa7070382f0fae0262.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2016-08-08 18:55:53 +09:00
..
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2015-12-21 11:37:21 +01:00
2016-06-28 18:21:50 +02:00
2015-10-28 10:20:17 +01:00
2015-11-17 12:50:22 +01:00
2016-06-28 15:01:57 +02:00
2016-07-26 14:49:02 +02:00
2016-08-03 15:27:13 +02:00
2016-06-28 15:53:59 +02:00
2016-06-28 15:53:59 +02:00
2013-11-18 14:09:47 +01:00
2015-11-17 12:50:22 +01:00
2016-06-08 15:14:06 +02:00
2016-08-03 16:55:33 +02:00
2015-11-17 12:50:22 +01:00
2016-08-03 16:55:33 +02:00
2016-08-03 16:55:33 +02:00
2015-11-17 12:50:22 +01:00
2016-04-29 11:04:04 +02:00
2016-08-03 15:27:13 +02:00
2015-03-17 09:18:23 +01:00
2016-03-02 14:27:30 +01:00
2016-07-02 16:18:50 +02:00
2015-11-17 12:50:22 +01:00
2016-06-30 18:50:16 +02:00
2016-05-31 15:51:18 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2015-11-17 12:50:22 +01:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2014-11-11 15:14:31 +01:00
2015-11-17 12:50:22 +01:00
2016-08-08 18:55:53 +09:00
2016-08-03 15:27:13 +02:00
2015-02-03 09:12:45 +01:00
2015-10-30 12:33:40 +01:00

Common functionality used by all modules of GnuPG.