diff options
author | Paul Querna | 2005-04-22 00:26:57 +0000 |
---|---|---|
committer | Paul Querna | 2005-04-22 00:26:57 +0000 |
commit | e924ddd3c71d5a28d973bf0b17316b63d9fad70f (patch) | |
tree | 67fc274ef45e1f75cf12cc963a168cb6d8d971c8 /include | |
parent | 31645b2ad4f81c5ce3ca8ee9a671f24fb35715cd (diff) |
client auth is sort of working.
Diffstat (limited to 'include')
-rw-r--r-- | include/mod_gnutls.h.in | 9 |
1 files changed, 7 insertions, 2 deletions
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 | |||
71 | 71 | ||
72 | typedef struct | 72 | typedef struct |
73 | { | 73 | { |
74 | gnutls_certificate_request_t client_verify_mode; | 74 | int client_verify_mode; |
75 | } mod_gnutls_dirconf_rec; | 75 | } mod_gnutls_dirconf_rec; |
76 | 76 | ||
77 | typedef struct | 77 | typedef struct |
78 | { | 78 | { |
79 | gnutls_certificate_credentials_t certs; | 79 | gnutls_certificate_credentials_t certs; |
80 | char* cert_cn; | ||
80 | gnutls_x509_crt_t cert_x509; | 81 | gnutls_x509_crt_t cert_x509; |
81 | gnutls_x509_privkey_t privkey_x509; | 82 | gnutls_x509_privkey_t privkey_x509; |
82 | int enabled; | 83 | int enabled; |
@@ -91,7 +92,7 @@ typedef struct | |||
91 | const char* cache_config; | 92 | const char* cache_config; |
92 | const char* rsa_params_file; | 93 | const char* rsa_params_file; |
93 | const char* dh_params_file; | 94 | const char* dh_params_file; |
94 | gnutls_certificate_request_t client_verify_mode; | 95 | int client_verify_mode; |
95 | } mod_gnutls_srvconf_rec; | 96 | } mod_gnutls_srvconf_rec; |
96 | 97 | ||
97 | typedef struct { | 98 | typedef struct { |
@@ -179,6 +180,10 @@ ssize_t mod_gnutls_transport_write(gnutls_transport_ptr_t ptr, | |||
179 | const void *buffer, size_t len); | 180 | const void *buffer, size_t len); |
180 | 181 | ||
181 | 182 | ||
183 | int mod_gnutls_rehandshake(mod_gnutls_handle_t * ctxt); | ||
184 | |||
185 | |||
186 | |||
182 | /** | 187 | /** |
183 | * Init the Cache after Configuration is done | 188 | * Init the Cache after Configuration is done |
184 | */ | 189 | */ |