Merge pull request #6286 from akallabeth/shadow_pam_compile

Fixed compilation issue with shadow pam code
This commit is contained in:
Bernhard Miklautz 2020-06-16 16:06:25 +02:00 committed by GitHub
commit a0835d2468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -166,8 +166,8 @@ static int x11_shadow_pam_authenticate(rdpShadowSubsystem* subsystem, rdpShadowC
info.appdata.domain = domain;
info.appdata.password = password;
info.pamc.conv = &x11_shadow_pam_conv;
info.pamc.appdata_ptr = &(info->appdata);
pam_status = pam_start(info->service_name, 0, &info.pamc, &info.handle);
info.pamc.appdata_ptr = &info.appdata;
pam_status = pam_start(info.service_name, 0, &info.pamc, &info.handle);
if (pam_status != PAM_SUCCESS)
{