diff options
author | Nokis Mavrogiannopoulos | 2008-11-02 13:22:51 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2008-11-02 13:22:51 +0000 |
commit | 336c77fbe353fc2aa8d247571e08b754365f94f7 (patch) | |
tree | 079c63e9222db3e452146868bdfd3ab7ea1f30e2 /src | |
parent | 624b7f4377a617262515ba1f510332e4510dd452 (diff) |
APLOG_EMERG was replaced with APLOG_STARTUP for startup messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/gnutls_hooks.c | 8 |
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; |