Le 03/03/2024 à 17:13, Adrian Bunk a écrit :
Source: ausweisapp2
Version: 2.0.3-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: Ludovic Rousseau <rouss...@debian.org>

https://buildd.debian.org/status/logs.php?pkg=ausweisapp2&ver=2.1.0-1

...
/<<PKGBUILDDIR>>/src/card/pcsc/PcscUtils.h:112:46: error: 
‘SCARD_E_UNKNOWN_RES_MNG’ was not declared in this scope; did you mean 
‘SCARD_E_UNKNOWN_RES_MSG’?
   112 |         Scard_E_Unknown_Res_Mng = returnCode(SCARD_E_UNKNOWN_RES_MNG),    
     /**< An unrecognized error code was returned from a layered component. */
       |                                              ^~~~~~~~~~~~~~~~~~~~~~~
...


This is not a regression in the new ausweisapp2 upload,
but due to a change in pcsc-lite 2.0.2 (maintainer Cc'ed):

https://salsa.debian.org/rousseau/PCSC/-/commit/65f9b610138c8a4a5563d0332120f684682e0237
"Fix typo in (unused) error code SCARD_E_UNKNOWN_RES_MSG"

Exact.

I now discover that Windows does define BOTH values:
SCARD_E_UNKNOWN_RES_MSG 0x8010002B in 
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpesc/9861f8da-76fe-41e6-847e-40c9aa35df8d
SCARD_E_UNKNOWN_RES_MNG 0x8010002B in 
https://learn.microsoft.com/en-us/windows/win32/secauthn/authentication-return-values

I guess pcsc-lite will also have to define both values.
I will release a new pcsc-lite version soon.

Sorry.

--
Dr. Ludovic Rousseau

Reply via email to