diff options
author | Paul Querna | 2005-04-21 17:15:56 +0000 |
---|---|---|
committer | Paul Querna | 2005-04-21 17:15:56 +0000 |
commit | 31645b2ad4f81c5ce3ca8ee9a671f24fb35715cd (patch) | |
tree | bde214555fb7612674bf4f3cbcf72db37f096b2f /include | |
parent | 0475f1bc49d07ab75f33899e6c0d1b32f884c68b (diff) |
working SNI. Not so working Client Cert support.
Diffstat (limited to 'include')
-rw-r--r-- | include/mod_gnutls.h.in | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/include/mod_gnutls.h.in b/include/mod_gnutls.h.in index d9b989e..6eff460 100644 --- a/include/mod_gnutls.h.in +++ b/include/mod_gnutls.h.in | |||
@@ -27,14 +27,15 @@ | |||
27 | #include "apr_tables.h" | 27 | #include "apr_tables.h" |
28 | #include "ap_release.h" | 28 | #include "ap_release.h" |
29 | 29 | ||
30 | #include <gcrypt.h> | ||
31 | #include <gnutls/gnutls.h> | ||
32 | #include <gnutls/x509.h> | ||
33 | |||
30 | #ifndef __mod_gnutls_h_inc | 34 | #ifndef __mod_gnutls_h_inc |
31 | #define __mod_gnutls_h_inc | 35 | #define __mod_gnutls_h_inc |
32 | 36 | ||
33 | #define HAVE_APR_MEMCACHE @have_apr_memcache@ | 37 | #define HAVE_APR_MEMCACHE @have_apr_memcache@ |
34 | 38 | ||
35 | #include <gcrypt.h> | ||
36 | #include <gnutls/gnutls.h> | ||
37 | |||
38 | module AP_MODULE_DECLARE_DATA gnutls_module; | 39 | module AP_MODULE_DECLARE_DATA gnutls_module; |
39 | 40 | ||
40 | #define GNUTLS_OUTPUT_FILTER_NAME "gnutls_output_filter" | 41 | #define GNUTLS_OUTPUT_FILTER_NAME "gnutls_output_filter" |
@@ -70,9 +71,14 @@ typedef enum | |||
70 | 71 | ||
71 | typedef struct | 72 | typedef struct |
72 | { | 73 | { |
74 | gnutls_certificate_request_t client_verify_mode; | ||
75 | } mod_gnutls_dirconf_rec; | ||
76 | |||
77 | typedef struct | ||
78 | { | ||
73 | gnutls_certificate_credentials_t certs; | 79 | gnutls_certificate_credentials_t certs; |
74 | char *key_file; | 80 | gnutls_x509_crt_t cert_x509; |
75 | char *cert_file; | 81 | gnutls_x509_privkey_t privkey_x509; |
76 | int enabled; | 82 | int enabled; |
77 | int ciphers[16]; | 83 | int ciphers[16]; |
78 | int key_exchange[16]; | 84 | int key_exchange[16]; |
@@ -85,6 +91,7 @@ typedef struct | |||
85 | const char* cache_config; | 91 | const char* cache_config; |
86 | const char* rsa_params_file; | 92 | const char* rsa_params_file; |
87 | const char* dh_params_file; | 93 | const char* dh_params_file; |
94 | gnutls_certificate_request_t client_verify_mode; | ||
88 | } mod_gnutls_srvconf_rec; | 95 | } mod_gnutls_srvconf_rec; |
89 | 96 | ||
90 | typedef struct { | 97 | typedef struct { |