summaryrefslogtreecommitdiffstats
path: root/mod_log_sql_ssl.c
diff options
context:
space:
mode:
authorGravatar Edward Rudd 2004-04-04 07:45:30 +0000
committerGravatar Edward Rudd 2004-04-04 07:45:30 +0000
commit812bc70dae80637548a0ccfab649f8912a09faf5 (patch)
treeb0410deed7f35f9db952bf51aa3770a9cb9b0a68 /mod_log_sql_ssl.c
parentbf387bc750caf37fe2cbe45a901161861fc50b01 (diff)
Updated to new logging function with apaceh 2 prototype instead of 1.3 so i can properly log Error numbers in apache 2 (better debugging)
Diffstat (limited to 'mod_log_sql_ssl.c')
-rw-r--r--mod_log_sql_ssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod_log_sql_ssl.c b/mod_log_sql_ssl.c
index d65ca79..5f3a16e 100644
--- a/mod_log_sql_ssl.c
+++ b/mod_log_sql_ssl.c
@@ -37,7 +37,7 @@ static const char *extract_ssl_keysize(request_rec *r, char *a)
37 if (TEST_SSL(r) != NULL) 37 if (TEST_SSL(r) != NULL)
38 { 38 {
39 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CIPHER_USEKEYSIZE"); 39 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CIPHER_USEKEYSIZE");
40 log_error(APLOG_MARK,APLOG_DEBUG,r->server,"SSL_KEYSIZE: %s", result); 40 log_error(APLOG_MARK,APLOG_DEBUG,0, r->server,"SSL_KEYSIZE: %s", result);
41 if (result != NULL && result[0] == '\0') 41 if (result != NULL && result[0] == '\0')
42 result = NULL; 42 result = NULL;
43 return result; 43 return result;
@@ -52,7 +52,7 @@ static const char *extract_ssl_maxkeysize(request_rec *r, char *a)
52 if (TEST_SSL(r) != NULL) 52 if (TEST_SSL(r) != NULL)
53 { 53 {
54 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CIPHER_ALGKEYSIZE"); 54 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CIPHER_ALGKEYSIZE");
55 log_error(APLOG_MARK,APLOG_DEBUG,r->server,"SSL_ALGKEYSIZE: %s", result); 55 log_error(APLOG_MARK,APLOG_DEBUG,0, r->server,"SSL_ALGKEYSIZE: %s", result);
56 if (result != NULL && result[0] == '\0') 56 if (result != NULL && result[0] == '\0')
57 result = NULL; 57 result = NULL;
58 return result; 58 return result;
@@ -67,7 +67,7 @@ static const char *extract_ssl_cipher(request_rec *r, char *a)
67 if (TEST_SSL(r) != NULL) 67 if (TEST_SSL(r) != NULL)
68 { 68 {
69 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CIPHER"); 69 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CIPHER");
70 log_error(APLOG_MARK,APLOG_DEBUG,r->server,"SSL_CIPHER: %s", result); 70 log_error(APLOG_MARK,APLOG_DEBUG,0, r->server,"SSL_CIPHER: %s", result);
71 if (result != NULL && result[0] == '\0') 71 if (result != NULL && result[0] == '\0')
72 result = NULL; 72 result = NULL;
73 return result; 73 return result;