diff options
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | src/gnutls_hooks.c | 6 |
2 files changed, 4 insertions, 4 deletions
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | - Added support for sending a certificate chain. | 3 | - Added support for sending a certificate chain. |
| 4 | 4 | ||
| 5 | - Corrected bug which did not allow the TLS session cache to be used. | ||
| 6 | |||
| 5 | ** Version 0.4.1 (2007-12-03) | 7 | ** Version 0.4.1 (2007-12-03) |
| 6 | 8 | ||
| 7 | - Added support for subject alternative names in certificates. | 9 | - Added support for subject alternative names in certificates. |
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index 025e4e1..15b66fa 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
| @@ -133,10 +133,6 @@ static int mgs_select_virtual_server_cb(gnutls_session_t session) | |||
| 133 | if (ret < 0) | 133 | if (ret < 0) |
| 134 | return ret; | 134 | return ret; |
| 135 | 135 | ||
| 136 | /* allow separate caches per virtual host. Actually allowing the same is a | ||
| 137 | * bad idea, since they might have different security requirements. | ||
| 138 | */ | ||
| 139 | mgs_cache_session_init(ctxt); | ||
| 140 | 136 | ||
| 141 | return 0; | 137 | return 0; |
| 142 | } | 138 | } |
| @@ -591,6 +587,8 @@ static mgs_handle_t *create_gnutls_handle(apr_pool_t * pool, conn_rec * c) | |||
| 591 | gnutls_handshake_set_post_client_hello_function(ctxt->session, | 587 | gnutls_handshake_set_post_client_hello_function(ctxt->session, |
| 592 | mgs_select_virtual_server_cb); | 588 | mgs_select_virtual_server_cb); |
| 593 | 589 | ||
| 590 | mgs_cache_session_init(ctxt); | ||
| 591 | |||
| 594 | return ctxt; | 592 | return ctxt; |
| 595 | } | 593 | } |
| 596 | 594 | ||
