Home GnuPG
Diffusion GnuPG db25aa98873d

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
rG97583cf81ab0: gpgscm: Fix initialization for fixed size chars.
Branches
Unknown
Tags
Unknown