From 681d01889d201eb3aa64df41f22bc227d9d74aaf Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Tue, 6 Dec 2022 13:36:02 +0100 Subject: [PATCH] release 1.4.5.2: change Apache module init info log Signed-off-by: Hans Zandbelt --- ChangeLog | 4 ++++ configure.ac | 2 +- src/server/apache.c | 5 +++-- test/server_stubs.c | 5 +++++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b3ec98b..6168118 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +12/06/2022 +- change Apache module init info log +- release 1.4.5.2 + 11/30/2022 - initialize check_oauth2 properly; call OPENSSL_init_crypto for OpenSSL >= 1.1.0 diff --git a/configure.ac b/configure.ac index 6b4dd07..077c70b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([liboauth2],[1.4.5.2dev],[hans.zandbelt@zmartzone.eu]) +AC_INIT([liboauth2],[1.4.5.2],[hans.zandbelt@zmartzone.eu]) AM_INIT_AUTOMAKE([foreign no-define subdir-objects]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/src/server/apache.c b/src/server/apache.c index 218516b..fe8e6da 100644 --- a/src/server/apache.c +++ b/src/server/apache.c @@ -237,8 +237,9 @@ int oauth2_apache_post_config(apr_pool_t *pool, apr_pool_t *p1, apr_pool_t *p2, cfg = (oauth2_apache_cfg_srv_t *)ap_get_module_config(s->module_config, m); - oauth2_info(cfg->log, "%s-%s - init", package_name_version, - oauth2_package_string()); + + ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, "%s-%s - init", + package_name_version, oauth2_package_string()); end: diff --git a/test/server_stubs.c b/test/server_stubs.c index 19253d3..b734848 100644 --- a/test/server_stubs.c +++ b/test/server_stubs.c @@ -112,6 +112,11 @@ const char *ap_run_http_scheme(const request_rec *r) { return "https"; } + +AP_DECLARE(void) ap_log_error_(const char *file, int line, int module_index, + int level, apr_status_t status, const server_rec *s, const char *fmt, + ...) { +} #endif #ifdef HAVE_NGINX