diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_gnutls.c | 169 |
1 files changed, 114 insertions, 55 deletions
diff --git a/src/mod_gnutls.c b/src/mod_gnutls.c index e9ad89c..e696ec6 100644 --- a/src/mod_gnutls.c +++ b/src/mod_gnutls.c | |||
@@ -49,7 +49,6 @@ typedef struct { | |||
49 | char *key_file; | 49 | char *key_file; |
50 | char *cert_file; | 50 | char *cert_file; |
51 | int enabled; | 51 | int enabled; |
52 | int non_https; | ||
53 | int ciphers[16]; | 52 | int ciphers[16]; |
54 | int key_exchange[16]; | 53 | int key_exchange[16]; |
55 | int macs[16]; | 54 | int macs[16]; |
@@ -62,14 +61,13 @@ struct gnutls_handle_t | |||
62 | { | 61 | { |
63 | gnutls_srvconf_rec *sc; | 62 | gnutls_srvconf_rec *sc; |
64 | gnutls_session_t session; | 63 | gnutls_session_t session; |
65 | #ifdef GNUTLS_AS_FILTER | ||
66 | ap_filter_t *input_filter; | 64 | ap_filter_t *input_filter; |
67 | apr_bucket_brigade *input_bb; | 65 | apr_bucket_brigade *input_bb; |
68 | apr_read_type_e input_block; | 66 | apr_read_type_e input_block; |
69 | #endif | 67 | int status; |
68 | int non_https; | ||
70 | }; | 69 | }; |
71 | 70 | ||
72 | #ifdef GNUTLS_AS_FILTER | ||
73 | static apr_status_t gnutls_filter_input(ap_filter_t * f, | 71 | static apr_status_t gnutls_filter_input(ap_filter_t * f, |
74 | apr_bucket_brigade * bb, | 72 | apr_bucket_brigade * bb, |
7 | 2008-10-01 | ||
| | |||
* | updated README file to account for openpgp keys --patch by Jack Bates | 2008-10-01 | |
| | |||
* | use memmove instead of memcpy because buffers might overlap. | 2008-09-14 | |
| | |||
* | added check for invalid context | 2008-09-14 | |
| | |||
* | depend on main libgnutls library (and gnutls 2.4.x) | 2008-06-29 | |
| | |||
* | send database store failure as DEBUG | 2008-03-05 | |
| | |||
* | corrected SRP enable flag, and corrected the DBM hook support. It now free ↵ | 2008-03-03 | |
| | | | | data needed by some DBM providers. | ||
* | added option to disable srp (for distributions that disable it in gnutls) | 2008-02-20 | |
| | |||
* | prepare for an alpha release | 2008-01-24 | |
| | |||
* | (no commit message) | 2007-12-16 | |
| | |||
* | more changes for openpgp support. Seems to be at a workable state. | 2007-12-16 | |
| | |||
* | print error if preconfiguration fails | 2007-12-15 | |
| | |||
* | Initial support for openpgp keys | 2007-12-15 | |
| | |||
* | (no commit message) | 2007-12-10 | |
| | |||
* | (no commit message) | 2007-12-10 | |
| | |||
* | (no commit message) | 2007-12-09 | |
| | |||
* | Do not allow resuming sessions on different servers. | 2007-12-09 | |
| | |||
* | Corrected bug which did not allow the TLS session cache to be used. | 2007-12-09 | |
| | |||
* | Added support for sending more than one certificate. | 2007-12-08 | |
| | |||
* | added more error checks. | 2007-12-03 | |
| | |||
* | better handling of RSAFile and DHFile | 2007-12-03 | |
| | |||
* | report the missing GnuTLSPriorities for the gnutls enabled hosts only. | 2007-12-02 | |
| | |||
* | No more defaults for dhparams, rsaparams. Check for GnuTLSPriorities. | 2007-12-02 | |
| | |||
* | The compatibility mode can now be enabled only using the GnuTLSPriorities ↵ | 2007-12-02 | |
| | | | | string. | ||
* | (no commit message) | 2007-12-02 | |
| | |||
* | added SSL_SERVER/CLIENT_S_TYPE | 2007-12-02 | |
| | |||
* | export the alternative names of the certificate | 2007-12-02 | |
| | |||
* | added SSL_SERVER_M_SERIAL environment variable | 2007-12-02 | |
| | |||
* | more fixes for subject alternative name. | 2007-12-02 | |
| | |||
* | some fixes in alternative name support | 2007-12-02 | |
| | |||
* | Added support for subject alternative names. (untested) | 2007-12-01 | |
| | |||
* | upgraded to 0.4.0 | 2007-11-28 | |
| | |||
* | Put a limit on the number of times we try to handshake. | 2005-09-25 | |
| | |||
* | start the CA Certificate code. | 2005-05-24 | |
| | |||
* | - add lua to do client verification | 2005-05-17 | |
| | | | | | - only use gcrypt locking when required to | ||
* | Refactor finding the correct server record to fix resumed sessions.0.2.00.2.x | 2005-04-25 | |
| | |||
* | apr_table_setn doesn't copy the data. oops. | 2005-04-24 | |
| | |||
* | We already have a Certificate, use it directly. With SNI, GnuTLS doesn't ↵ | 2005-04-24 | |
| | | | | properly update it's internal state. ick. |