[client,scard] fix missing callback instance arg

every callback requires context, add freerdp* instance just as the
Authenticate et al callbacks already have
This commit is contained in:
Armin Novak
2023-02-14 21:00:27 +01:00
committed by Martin Fleisz
parent 5d97a03bf4
commit 25023d3a3a
4 changed files with 7 additions and 7 deletions

View File

@@ -136,8 +136,8 @@ extern "C"
char** domain);
typedef BOOL (*pAuthenticateEx)(freerdp* instance, char** username, char** password,
char** domain, rdp_auth_reason reason);
typedef BOOL (*pChooseSmartcard)(SmartcardCertInfo** cert_list, DWORD count, DWORD* choice,
BOOL gateway);
typedef BOOL (*pChooseSmartcard)(freerdp* instance, SmartcardCertInfo** cert_list, DWORD count,
DWORD* choice, BOOL gateway);
/** @brief Callback used if user interaction is required to accept
* an unknown certificate.