From 8513ab8bf36088f9f0615b7bd905d42190acb03a Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 14 May 2020 14:56:23 +0900 Subject: [PATCH] ecc-sos: Use opaque for key from agent. * g10/export.c (cleartext_secret_key_to_openpgp): Use /q. Signed-off-by: NIIBE Yutaka --- g10/export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g10/export.c b/g10/export.c index 12e658fd2..458b3a02c 100644 --- a/g10/export.c +++ b/g10/export.c @@ -751,7 +751,7 @@ cleartext_secret_key_to_openpgp (gcry_sexp_t s_key, PKT_public_key *pk) if (err) goto leave; if (!err) - err = gcry_sexp_extract_param (key, NULL, "q", + err = gcry_sexp_extract_param (key, NULL, "/q", &pub_params[0], NULL); if (!err && (gcry_mpi_cmp(pk->pkey[1], pub_params[0])))