From 68ef5d211b7af27c769b8ba4ad91ee60ed6966a6 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Thu, 23 Jan 2025 12:57:00 -0500 Subject: [PATCH] 2025-01-23 Fred Gleason * Cleaned up dead entries in 'lib/rdpam.h'. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ lib/rdpam.h | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index dbb52da7..07b35a98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24498,3 +24498,5 @@ 2025-01-23 Fred Gleason * Fixed a bug in 'RDPam' that could cause a segfault when processing an authentication. +2025-01-23 Fred Gleason + * Cleaned up dead entries in 'lib/rdpam.h'. diff --git a/lib/rdpam.h b/lib/rdpam.h index 9b515772..d8c1f6e7 100644 --- a/lib/rdpam.h +++ b/lib/rdpam.h @@ -2,7 +2,7 @@ // // Authenticate a PAM name. // -// (C) Copyright 2010,2016 Fred Gleason +// (C) Copyright 2010-2025 Fred Gleason // // 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 @@ -30,12 +30,8 @@ class RDPam bool authenticate(const QString &username,const QString &token); private: - // void CleanupPam(); QString system_pam_service; 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, struct pam_response **resp, void *appdata_ptr); };