Skip to content

Commit

Permalink
release 1.4.5.2: change Apache module init info log
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Dec 6, 2022
1 parent 2c51582 commit 681d018
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([liboauth2],[1.4.5.2dev],[[email protected]])
AC_INIT([liboauth2],[1.4.5.2],[[email protected]])

AM_INIT_AUTOMAKE([foreign no-define subdir-objects])
AC_CONFIG_MACRO_DIR([m4])
Expand Down
5 changes: 3 additions & 2 deletions src/server/apache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
5 changes: 5 additions & 0 deletions test/server_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 681d018

Please sign in to comment.