[rs-commit] r62 - /mod_ca/trunk/mod_ca_engine.c
rs-commit at redwax.eu
rs-commit at redwax.eu
Thu Aug 29 00:40:45 CEST 2019
Author: minfrin at redwax.eu
Date: Thu Aug 29 00:40:43 2019
New Revision: 62
Log:
Remove unused log_config code.
Modified:
mod_ca/trunk/mod_ca_engine.c
Modified: mod_ca/trunk/mod_ca_engine.c
==============================================================================
--- mod_ca/trunk/mod_ca_engine.c (original)
+++ mod_ca/trunk/mod_ca_engine.c Thu Aug 29 00:40:43 2019
@@ -167,28 +167,6 @@
}
BIO_free(mem);
-}
-
-static const char *log_config(cmd_parms *cmd, const char *message)
-{
- int len;
- BIO *mem = BIO_new(BIO_s_mem());
- char err[HUGE_STRING_LEN];
-
- ERR_print_errors(mem);
-
- len = BIO_gets(mem, err, HUGE_STRING_LEN - 1);
- if (len > -1) {
- err[len] = 0;
- }
- BIO_free(mem);
-
- if (len > 0) {
- return apr_psprintf(cmd->pool, "%s (%s)", message, err);
- }
- else {
- return message;
- }
}
static apr_status_t ca_PKCS7_cleanup(void *data)
More information about the rs-commit
mailing list