summaryrefslogtreecommitdiffstatsabout
path: root/src/gnutls_hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnutls_hooks.c')
-rw-r--r--src/gnutls_hooks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c
index 57bfeba..3fa7041 100644
--- a/src/gnutls_hooks.c
+++ b/src/gnutls_hooks.c
@@ -400,7 +400,7 @@ mgs_hook_post_config(apr_pool_t * p, apr_pool_t * plog,
400 srp_tpasswd_conf_file); 400 srp_tpasswd_conf_file);
401 401
402 if (rv < 0 && sc->enabled == GNUTLS_ENABLED_TRUE) { 402 if (rv < 0 && sc->enabled == GNUTLS_ENABLED_TRUE) {
403 ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, 403 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
404 "[GnuTLS] - Host '%s:%d' is missing a " 404 "[GnuTLS] - Host '%s:%d' is missing a "
405 "SRP password or conf File!", 405 "SRP password or conf File!",
406 s->server_hostname, s->port); 406 s->server_hostname, s->port);
@@ -412,7 +412,7 @@ mgs_hook_post_config(apr_pool_t * p, apr_pool_t * plog,
412 if (sc->certs_x509[0] == NULL && 412 if (sc->certs_x509[0] == NULL &&
413 sc->cert_pgp == NULL && 413 sc->cert_pgp == NULL &&
414 sc->enabled == GNUTLS_ENABLED_TRUE) { 414 sc->enabled == GNUTLS_ENABLED_TRUE) {
415 ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, 415 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
416 "[GnuTLS] - Host '%s:%d' is missing a " 416 "[GnuTLS] - Host '%s:%d' is missing a "
417 "Certificate File!", s->server_hostname, 417 "Certificate File!", s->server_hostname,
418 s->port); 418 s->port);
@@ -422,7 +422,7 @@ mgs_hook_post_config(apr_pool_t * p, apr_pool_t * plog,
422 if (sc->enabled == GNUTLS_ENABLED_TRUE && 422 if (sc->enabled == GNUTLS_ENABLED_TRUE &&
423 ((sc->certs_x509[0] != NULL && sc->privkey_x509 == NULL) || 423 ((sc->certs_x509[0] != NULL && sc->privkey_x509 == NULL) ||
424 (sc->cert_pgp != NULL && sc->privkey_pgp == NULL))) { 424 (sc->cert_pgp != NULL && sc->privkey_pgp == NULL))) {
425 ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, 425 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
426 "[GnuTLS] - Host '%s:%d' is missing a " 426 "[GnuTLS] - Host '%s:%d' is missing a "
427 "Private Key File!", 427 "Private Key File!",
428 s->server_hostname, s->port); 428 s->server_hostname, s->port);
@@ -435,7 +435,7 @@ mgs_hook_post_config(apr_pool_t * p, apr_pool_t * plog,
435 rv = read_pgpcrt_cn(s, p, sc->cert_pgp, &sc->cert_cn); 435 rv = read_pgpcrt_cn(s, p, sc->cert_pgp, &sc->cert_cn);
436 436
437 if (rv < 0) { 437 if (rv < 0) {
438 ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, 438 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s,
439 "[GnuTLS] - Cannot find a certificate for host '%s:%d'!", 439 "[GnuTLS] - Cannot find a certificate for host '%s:%d'!",
440 s->server_hostname, s->port); 440 s->server_hostname, s->port);
441 sc->cert_cn = NULL; 441 sc->cert_cn = NULL;