Diffusion GnuPG fbc1b199fdc8

scd:piv: Avoid conflict when writing a cert.

Authored by werner on Fri, Sep 11, 3:47 PM.

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

Committed
wernerFri, Sep 11, 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