summaryrefslogtreecommitdiffstatsabout
path: root/include/mod_gnutls.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'include/mod_gnutls.h.in')
-rw-r--r--include/mod_gnutls.h.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/mod_gnutls.h.in b/include/mod_gnutls.h.in
index 6a311a3..a0f6581 100644
--- a/include/mod_gnutls.h.in
+++ b/include/mod_gnutls.h.in
@@ -80,7 +80,10 @@ typedef struct
80/* The maximum number of client CA certificates allowed. 80/* The maximum number of client CA certificates allowed.
81 */ 81 */
82#define MAX_CA_CRTS 128 82#define MAX_CA_CRTS 128
83#define MAX_CIPHERS 16 83
84/* The maximum number of certificates to send in a chain
85 */
86#define MAX_CHAIN_SIZE 8
84 87
85typedef struct 88typedef struct
86{ 89{
@@ -88,7 +91,8 @@ typedef struct
88 gnutls_srp_server_credentials_t srp_creds; 91 gnutls_srp_server_credentials_t srp_creds;
89 gnutls_anon_server_credentials_t anon_creds; 92 gnutls_anon_server_credentials_t anon_creds;
90 char* cert_cn; 93 char* cert_cn;
91 gnutls_x509_crt_t cert_x509; 94 gnutls_x509_crt_t certs_x509[MAX_CHAIN_SIZE]; /* A certificate chain */
95 unsigned int certs_x509_num;
92 gnutls_x509_privkey_t privkey_x509; 96 gnutls_x509_privkey_t privkey_x509;
93 int enabled; 97 int enabled;
94 /* whether to send the PEM encoded certificates 98 /* whether to send the PEM encoded certificates