1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-23 15:07:03 +01:00

ecc-sos: Use opaque for key from agent.

* g10/export.c (cleartext_secret_key_to_openpgp): Use /q.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2020-05-14 14:56:23 +09:00
parent 93cefe9497
commit 8513ab8bf3

View File

@ -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])))