From c94eea15d6847c08d2d9ff1c7608953f25fea67d Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 23 Jun 2020 10:10:29 +0900 Subject: ecc: Use "cv448" to specify key using X448. * common/openpgp-oid.c (oidtable): Use "cv448". (oid_cv448): Rename from oid_x448. (openpgp_oidbuf_is_cv448, openpgp_oid_is_cv448): Likewise. * common/util.h (openpgp_oid_is_cv448): Follow the change. * g10/ecdh.c (pk_ecdh_generate_ephemeral_key): Likewise. * g10/keygen.c (gen_ecc, ask_algo): Use "cv448". (parse_key_parameter_part): Likewise. * g10/pkglue.c (get_data_from_sexp): Fix for debug output. Signed-off-by: NIIBE Yutaka --- g10/pkglue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'g10/pkglue.c') diff --git a/g10/pkglue.c b/g10/pkglue.c index a659a5b06..eda13009b 100644 --- a/g10/pkglue.c +++ b/g10/pkglue.c @@ -106,7 +106,8 @@ get_data_from_sexp (gcry_sexp_t sexp, const char *item, size_t *r_size) const char *value; byte *v; - log_printsexp ("get_data_from_sexp:", sexp); + if (DBG_CRYPTO) + log_printsexp ("get_data_from_sexp:", sexp); list = gcry_sexp_find_token (sexp, item, 0); log_assert (list); -- cgit v1.2.3