From e924ddd3c71d5a28d973bf0b17316b63d9fad70f Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Fri, 22 Apr 2005 00:26:57 +0000 Subject: client auth is sort of working. --- include/mod_gnutls.h.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mod_gnutls.h.in b/include/mod_gnutls.h.in index 6eff460..62cae02 100644 --- a/include/mod_gnutls.h.in +++ b/include/mod_gnutls.h.in @@ -71,12 +71,13 @@ typedef enum typedef struct { - gnutls_certificate_request_t client_verify_mode; + int client_verify_mode; } mod_gnutls_dirconf_rec; typedef struct { gnutls_certificate_credentials_t certs; + char* cert_cn; gnutls_x509_crt_t cert_x509; gnutls_x509_privkey_t privkey_x509; int enabled; @@ -91,7 +92,7 @@ typedef struct const char* cache_config; const char* rsa_params_file; const char* dh_params_file; - gnutls_certificate_request_t client_verify_mode; + int client_verify_mode; } mod_gnutls_srvconf_rec; typedef struct { @@ -179,6 +180,10 @@ ssize_t mod_gnutls_transport_write(gnutls_transport_ptr_t ptr, const void *buffer, size_t len); +int mod_gnutls_rehandshake(mod_gnutls_handle_t * ctxt); + + + /** * Init the Cache after Configuration is done */ -- cgit