]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix args
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 7 Oct 2021 13:40:17 +0000 (14:40 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 7 Oct 2021 15:45:21 +0000 (16:45 +0100)
src/main/tls.c
src/modules/rlm_sqlcounter/rlm_sqlcounter.c

index fff87728058b418aa5749634c6d7291e10a9020c..4149a473a9ace8cddc67d4280d630f0098ef8a96 100644 (file)
@@ -3233,8 +3233,7 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx)
                        }
 
                        if (conf->disallow_untrusted) {
-                               AUTH(LOG_PREFIX ": There are untrusted certificates in the certificate chain.  Rejecting.",
-                                    issuer, conf->check_cert_issuer);
+                               AUTH(LOG_PREFIX ": There are untrusted certificates in the certificate chain.  Rejecting.");
                                my_ok = 0;
                        }
                }
index 4ecf1abc2993a3a387f3b5bbbb83c1d3c8367e7c..9d3ba2b30b3fcc63acf6161b3c5ca80b9a8cb7e1 100644 (file)
@@ -624,7 +624,7 @@ static rlm_rcode_t CC_HINT(nonnull) mod_authorize(void *instance, REQUEST *reque
                uint64_t next_reset = inst->reset_time - request->timestamp;
 
                RDEBUG2("Time (%" PRIu64 "s) to next reset is smaller than time remaining this reset (%" PRIu64 "s).  "
-                       "Extending limit to end of next reset time (^" PRIu64 "s).",
+                       "Extending limit to end of next reset time (%" PRIu64 "s).",
                        next_reset, unused, next_reset + limit->vp_integer);
 
                unused = next_reset + limit->vp_integer;