diff options
Diffstat (limited to 'sm/fingerprint.c')
-rw-r--r-- | sm/fingerprint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sm/fingerprint.c b/sm/fingerprint.c index 375a8647e..765c471c4 100644 --- a/sm/fingerprint.c +++ b/sm/fingerprint.c @@ -268,8 +268,7 @@ gpgsm_get_key_algo_info (ksba_cert_t cert, unsigned int *nbits, char **r_curve) curve = gcry_pk_get_curve (l1, 0, NULL); if (curve) { - name = openpgp_oid_to_curve (openpgp_curve_to_oid (curve, - NULL, NULL), 0); + name = openpgp_oid_or_name_to_curve (curve, 0); *r_curve = xtrystrdup (name? name : curve); if (!*r_curve) { |