lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.12-20-g4a6c963

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd branch master updated. 0.9.12-20-g4a6c963



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  4a6c963dbb1a2c7ef78163dad570bc4b48181740 (commit)
      from  09ed954630319d506d816feb0bd8298632aa4a6e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/nss-pam-ldapd/commit/?id=4a6c963dbb1a2c7ef78163dad570bc4b48181740

commit 4a6c963dbb1a2c7ef78163dad570bc4b48181740
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Feb 9 13:55:06 2025 +0100

    Clarify the name of the function to parse TLS values

diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index 6e56161..ded797a 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -5,7 +5,7 @@
 
    Copyright (C) 1997-2005 Luke Howard
    Copyright (C) 2007 West Consulting
-   Copyright (C) 2007-2021 Arthur de Jong
+   Copyright (C) 2007-2025 Arthur de Jong
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -848,7 +848,7 @@ static const char *print_ssl(int ssl)
   }
 }
 
-static int get_tls_reqcert(const char *filename, int lnr,
+static int get_tls_reqcertsan_value(const char *filename, int lnr,
                            const char *keyword, char **line)
 {
   char token[16];
@@ -891,7 +891,7 @@ static void handle_tls_reqcert(const char *filename, int 
lnr,
                                const char *keyword, char *line)
 {
   int value, rc;
-  value = get_tls_reqcert(filename, lnr, keyword, &line);
+  value = get_tls_reqcertsan_value(filename, lnr, keyword, &line);
   get_eol(filename, lnr, keyword, &line);
   log_log(LOG_DEBUG, "ldap_set_option(LDAP_OPT_X_TLS_REQUIRE_CERT,%s)",
           print_tls_reqcert(value));
@@ -903,7 +903,7 @@ static void handle_tls_reqsan(const char *filename, int lnr,
                                    const char *keyword, char *line)
 {
   int value, rc;
-  value = get_tls_reqcert(filename, lnr, keyword, &line);
+  value = get_tls_reqcertsan_value(filename, lnr, keyword, &line);
   get_eol(filename, lnr, keyword, &line);
   log_log(LOG_DEBUG, "ldap_set_option(LDAP_OPT_X_TLS_REQUIRE_SAN,%s)",
           print_tls_reqcert(value));

-----------------------------------------------------------------------

Summary of changes:
 nslcd/cfg.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
nss-pam-ldapd