aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keygen.c')
-rw-r--r--g10/keygen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 63e2f9cff..56bb388b7 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1336,6 +1336,7 @@ ecckey_from_sexp (gcry_mpi_t *array, gcry_sexp_t sexp, int algo)
goto leave;
}
array[1] = gcry_sexp_nth_mpi (l2, 1, GCRYMPI_FMT_OPAQUE);
+ gcry_mpi_set_flag (array[1], GCRYMPI_FLAG_USER2);
gcry_sexp_release (l2);
if (!array[1])
{