diff options
author | rcritten <> | 2005-05-31 14:32:42 +0000 |
---|---|---|
committer | rcritten <> | 2005-05-31 14:32:42 +0000 |
commit | 102486d90b09d87c7666d70bfb0d01a564868d67 (patch) | |
tree | 21d059a8a3035acda6ada54bed940541718eb349 /nss_engine_log.c | |
parent | b2aee9265a8f8b98a2e3a24a269c2b4b97882d08 (diff) | |
download | mod_nss-102486d90b09d87c7666d70bfb0d01a564868d67.tar.gz mod_nss-102486d90b09d87c7666d70bfb0d01a564868d67.tar.xz mod_nss-102486d90b09d87c7666d70bfb0d01a564868d67.zip |
Changed function and configuration names so mod_nss can peacefully
co-exist with mod_ssl.
Diffstat (limited to 'nss_engine_log.c')
-rw-r--r-- | nss_engine_log.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nss_engine_log.c b/nss_engine_log.c index f3f1566..1bb18e5 100644 --- a/nss_engine_log.c +++ b/nss_engine_log.c @@ -182,7 +182,7 @@ l_error_t libsec_errors[] = { { 144, "SEC_ERROR_OCSP_INVALID_SIGNING_CERT - OCSP signer certificate not found, not trusted or invalid." } }; -l_error_t libssl_errors[] = { +l_error_t libnss_errors[] = { { 0, "Client does not support high-grade encryption" }, { 1, "Client requires high-grade encryption which is not supported" }, { 2, "No common encryption algorithm(s) with client" }, @@ -288,7 +288,7 @@ l_error_t libssl_errors[] = { { 102, "Peer does not permit renegotiation of SSL security parameters" } }; -void ssl_die(void) +void nss_die(void) { /* * This is used for fatal errors and here @@ -298,7 +298,7 @@ void ssl_die(void) exit(1); } -void ssl_log_ssl_error(const char *file, int line, int level, server_rec *s) +void nss_log_nss_error(const char *file, int line, int level, server_rec *s) { const char *err; PRInt32 error; @@ -312,7 +312,7 @@ void ssl_log_ssl_error(const char *file, int line, int level, server_rec *s) err = libsec_errors[error-LIBSEC_ERROR_BASE].errorString; } else if ((error >= LIBSSL_ERROR_BASE) && (error <= LIBSSL_MAX_ERROR)) { - err = libssl_errors[error-LIBSSL_ERROR_BASE].errorString; + err = libnss_errors[error-LIBSSL_ERROR_BASE].errorString; } else { err = "Unknown"; } |