Home GnuPG
Diffusion GnuPG fbc1b199fdc8

scd:piv: Avoid conflict when writing a cert.

Description

scd:piv: Avoid conflict when writing a cert.

* scd/app-piv.c (map_curve_name_to_oid): New.
(my_cmp_public_key): New.
(do_writecert): Replace simple memcmp by cmp_canon_sexp.

Details

Provenance
wernerAuthored on Sep 11 2020, 3:47 PM
Parents
rGb6ba6a79ce93: common: New function cmp_canon_sexp.
Branches
Unknown
Tags
Unknown
Tasks
T5061: writecert fails for ECC keys on PIV cards