Home GnuPG
Diffusion GnuPG 18b4ebb28a75

scd:p15: Accept P15 cards with a zero-length label.

Description

scd:p15: Accept P15 cards with a zero-length label.

* scd/app-p15.c (read_ef_tokeninfo): Allow for a zero length label.

Some versions of the CardOS personalisation software seem to store a
missing labels as zero-length object instead of not storing the object
at all.

Due to a lack of such a card this patch has not been tested.

Details

Provenance
wernerAuthored on Thu, Apr 24, 11:20 AM
Parents
rG9448d01d61e5: scd,w32: Fix posssible lockup due to lost select results.
Branches
Unknown
Tags
Unknown