From c7d467691b30dc8078d39ee6cc1e361f515c560b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=B5=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE=20=D0=9C=D0=B0?= =?UTF-8?q?=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B5?= =?UTF-8?q?=D0=B2=D0=B8=D1=87?= Date: Mon, 19 Jun 2023 12:18:44 +0300 Subject: [PATCH] Change: MAX_ATR_SIZE 36 --- sesman/chansrv/pcsc/xrdp_pcsc.c | 2 +- sesman/chansrv/smartcard_pcsc.c | 2 +- sesman/sesman.ini.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sesman/chansrv/pcsc/xrdp_pcsc.c b/sesman/chansrv/pcsc/xrdp_pcsc.c index 220c97c7df..10b60dbf5a 100644 --- a/sesman/chansrv/pcsc/xrdp_pcsc.c +++ b/sesman/chansrv/pcsc/xrdp_pcsc.c @@ -41,7 +41,7 @@ typedef SCARDCONTEXT *LPSCARDCONTEXT; typedef LONG SCARDHANDLE; typedef SCARDHANDLE *LPSCARDHANDLE; -#define MAX_ATR_SIZE 33 +#define MAX_ATR_SIZE 36 typedef struct _SCARD_READERSTATE { diff --git a/sesman/chansrv/smartcard_pcsc.c b/sesman/chansrv/smartcard_pcsc.c index 2981be0c25..42896d2820 100644 --- a/sesman/chansrv/smartcard_pcsc.c +++ b/sesman/chansrv/smartcard_pcsc.c @@ -47,7 +47,7 @@ #if PCSC_STANDIN -#define MAX_ATR_SIZE 33 +#define MAX_ATR_SIZE 36 //The MAX_READERS value is generaly 16, but on some RHEL release, ti might be 32 or 64. See the PCSCLITE_MAX_READERS_CONTEXTS of the libpcsclite source package and adjust MAX_READERS value accordingly. #define MAX_READERS 16 diff --git a/sesman/sesman.ini.in b/sesman/sesman.ini.in index 954ddfa09a..01a1aa5b71 100644 --- a/sesman/sesman.ini.in +++ b/sesman/sesman.ini.in @@ -185,7 +185,7 @@ FileUmask=077 ; xrdp-chansrv.${DISPLAY}.log ; ; Note: Log levels can be any of: core, error, warning, info, debug, or trace -LogLevel=DEBUG +LogLevel=INFO EnableSyslog=true #SyslogLevel=INFO #EnableConsole=false