aboutsummaryrefslogtreecommitdiffstats
path: root/sm/minip12.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/minip12.c')
-rw-r--r--sm/minip12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/minip12.c b/sm/minip12.c
index 00ba26d7d..34ba1a53b 100644
--- a/sm/minip12.c
+++ b/sm/minip12.c
@@ -2596,7 +2596,7 @@ build_ecc_key_sequence (gcry_mpi_t *kparms, int mode, size_t *r_length)
/* We need to use our OpenPGP mapping to turn a curve name into its
* canonical numerical OID. We should have a Libgcrypt function to
* do this; see bug report #4926. */
- curve = openpgp_curve_to_oid (p, &curvebits, NULL);
+ curve = openpgp_curve_to_oid (p, &curvebits, NULL, 1);
xfree (p);
if (!curve)
{