aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/keygen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 4917a36a9..63e2f9cff 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1335,7 +1335,7 @@ ecckey_from_sexp (gcry_mpi_t *array, gcry_sexp_t sexp, int algo)
err = gpg_error (GPG_ERR_NO_OBJ);
goto leave;
}
- array[1] = gcry_sexp_nth_mpi (l2, 1, GCRYMPI_FMT_USG);
+ array[1] = gcry_sexp_nth_mpi (l2, 1, GCRYMPI_FMT_OPAQUE);
gcry_sexp_release (l2);
if (!array[1])
{