From 31645b2ad4f81c5ce3ca8ee9a671f24fb35715cd Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Thu, 21 Apr 2005 17:15:56 +0000 Subject: working SNI. Not so working Client Cert support. --- include/mod_gnutls.h.in | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'include') 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 @@ #include "apr_tables.h" #include "ap_release.h" +#include +#include +#include + #ifndef __mod_gnutls_h_inc #define __mod_gnutls_h_inc #define HAVE_APR_MEMCACHE @have_apr_memcache@ -#include -#include - module AP_MODULE_DECLARE_DATA gnutls_module; #define GNUTLS_OUTPUT_FILTER_NAME "gnutls_output_filter" @@ -68,11 +69,16 @@ typedef enum #endif } mod_gnutls_cache_e; +typedef struct +{ + gnutls_certificate_request_t client_verify_mode; +} mod_gnutls_dirconf_rec; + typedef struct { gnutls_certificate_credentials_t certs; - char *key_file; - char *cert_file; + gnutls_x509_crt_t cert_x509; + gnutls_x509_privkey_t privkey_x509; int enabled; int ciphers[16]; int key_exchange[16]; @@ -85,6 +91,7 @@ typedef struct const char* cache_config; const char* rsa_params_file; const char* dh_params_file; + gnutls_certificate_request_t client_verify_mode; } mod_gnutls_srvconf_rec; typedef struct { -- cgit