diff options
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 { |