2025-01-23 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up dead entries in 'lib/rdpam.h'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2025-01-23 12:57:00 -05:00
parent 2f1f796775
commit 68ef5d211b
2 changed files with 3 additions and 5 deletions

View File

@ -24498,3 +24498,5 @@
2025-01-23 Fred Gleason <fredg@paravelsystems.com> 2025-01-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDPam' that could cause a segfault when processing * Fixed a bug in 'RDPam' that could cause a segfault when processing
an authentication. an authentication.
2025-01-23 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up dead entries in 'lib/rdpam.h'.

View File

@ -2,7 +2,7 @@
// //
// Authenticate a PAM name. // Authenticate a PAM name.
// //
// (C) Copyright 2010,2016 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2010-2025 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@ -30,12 +30,8 @@ class RDPam
bool authenticate(const QString &username,const QString &token); bool authenticate(const QString &username,const QString &token);
private: private:
// void CleanupPam();
QString system_pam_service; QString system_pam_service;
QString system_token; QString system_token;
// struct pam_response *system_pam_response;
// int system_pam_response_count;
// int cleanup_pass;
friend int RDPamCallback(int num_msg, const struct pam_message **msg, friend int RDPamCallback(int num_msg, const struct pam_message **msg,
struct pam_response **resp, void *appdata_ptr); struct pam_response **resp, void *appdata_ptr);
}; };