diff options
Diffstat (limited to 'g10/card-util.c')
-rw-r--r-- | g10/card-util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/card-util.c b/g10/card-util.c index cb4dbe5e1..843abd823 100644 --- a/g10/card-util.c +++ b/g10/card-util.c @@ -632,7 +632,8 @@ current_card_status (ctrl_t ctrl, estream_t fp, if (info.key_attr[i].curve) { const char *oid; - oid = openpgp_curve_to_oid (info.key_attr[i].curve, NULL); + oid = openpgp_curve_to_oid (info.key_attr[i].curve, + NULL, NULL); if (oid) curve_for_print = openpgp_oid_to_curve (oid, 0); } @@ -1545,7 +1546,7 @@ ask_card_keyattr (int keyno, const struct key_attr *current) if (curve) { key_attr->algo = algo; - oid_str = openpgp_curve_to_oid (curve, NULL); + oid_str = openpgp_curve_to_oid (curve, NULL, NULL); key_attr->curve = openpgp_oid_to_curve (oid_str, 0); } else |