summaryrefslogtreecommitdiff
path: root/cipher/ecc-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/ecc-misc.c')
-rw-r--r--cipher/ecc-misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cipher/ecc-misc.c b/cipher/ecc-misc.c
index 5c86121a..6c34902c 100644
--- a/cipher/ecc-misc.c
+++ b/cipher/ecc-misc.c
@@ -53,6 +53,7 @@ _gcry_ecc_curve_copy (elliptic_curve_t E)
{
elliptic_curve_t R;
+ R.model = E.model;
R.p = mpi_copy (E.p);
R.a = mpi_copy (E.a);
R.b = mpi_copy (E.b);