[client,common] print smartcard list info
if a reader is detected, print out the number of (valid) certificates detected. This avoids #8953 empty output if there are no valid certificates installed on a smartcard.
This commit is contained in:
parent
239cd9212e
commit
4be82bf085
@ -30,6 +30,7 @@ BOOL freerdp_smartcard_list(const rdpSettings* settings)
|
|||||||
if (!smartcard_enumerateCerts(settings, &certs, &count, FALSE))
|
if (!smartcard_enumerateCerts(settings, &certs, &count, FALSE))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
printf("smartcard reader detected, listing %" PRIuz " certificates:\n", count);
|
||||||
for (size_t i = 0; i < count; i++)
|
for (size_t i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
const SmartcardCertInfo* info = certs[i];
|
const SmartcardCertInfo* info = certs[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user