[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:
Armin Novak 2023-05-10 09:50:26 +02:00 committed by akallabeth
parent 239cd9212e
commit 4be82bf085

View File

@ -30,6 +30,7 @@ BOOL freerdp_smartcard_list(const rdpSettings* settings)
if (!smartcard_enumerateCerts(settings, &certs, &count, FALSE))
return FALSE;
printf("smartcard reader detected, listing %" PRIuz " certificates:\n", count);
for (size_t i = 0; i < count; i++)
{
const SmartcardCertInfo* info = certs[i];