MXS-2479 PAMBackendAuth is more tolerant of extra messages.

The authenticator can now receive additional questions from the server even
after the original password-query.
This commit is contained in:
Esa Korhonen
2019-05-21 10:34:33 +03:00
parent bd8aa64547
commit a1697e2aa6
5 changed files with 244 additions and 165 deletions

View File

@ -21,8 +21,7 @@
static void* pam_backend_auth_alloc(void* instance)
{
PamBackendSession* pses = new(std::nothrow) PamBackendSession();
return pses;
return new(std::nothrow) PamBackendSession();
}
static void pam_backend_auth_free(void* data)