From 9083947d9c20d1ea2945b95a254bfe7fd1d89170 Mon Sep 17 00:00:00 2001 From: Andreas Ziegler Date: Mon, 14 Jul 2025 13:22:45 +0200 Subject: [PATCH] [client,common] fix sso_mib_get_access_token return value in error case Use FALSE instead of ERROR_INTERNAL_ERROR which could be interpreted as "truthy" at the respective call site. --- client/common/sso_mib_tokens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/common/sso_mib_tokens.c b/client/common/sso_mib_tokens.c index e17283b64..11cfb6a47 100644 --- a/client/common/sso_mib_tokens.c +++ b/client/common/sso_mib_tokens.c @@ -149,7 +149,7 @@ static BOOL sso_mib_get_access_token(rdpContext* context, AccessTokenType tokenT } if (!client_context->mibClientWrapper->app) - return ERROR_INTERNAL_ERROR; + return FALSE; const char* scope = NULL; const char* req_cnf = NULL;