diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/gnutls_hooks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index 27d9c53..7c14f07 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
| @@ -557,17 +557,17 @@ int mgs_hook_fixups(request_rec *r) | |||
| 557 | len = sizeof(sbuf); | 557 | len = sizeof(sbuf); |
| 558 | gnutls_session_get_id(ctxt->session, sbuf, &len); | 558 | gnutls_session_get_id(ctxt->session, sbuf, &len); |
| 559 | tmp = mgs_session_id2sz(sbuf, len, buf, sizeof(buf)); | 559 | tmp = mgs_session_id2sz(sbuf, len, buf, sizeof(buf)); |
| 560 | apr_table_setn(env, "SSL_SESSION_ID", tmp); | 560 | apr_table_setn(env, "SSL_SESSION_ID", apr_pstrdup(r->pool, tmp)); |
| 561 | 561 | ||
| 562 | /* TODO: There are many other env vars that we need to add */ | 562 | /* TODO: There are many other env vars that we need to add */ |
| 563 | { | 563 | { |
| 564 | len = sizeof(buf); | 564 | len = sizeof(buf); |
| 565 | gnutls_x509_crt_get_dn(ctxt->sc->cert_x509, buf, &len); | 565 | gnutls_x509_crt_get_dn(ctxt->sc->cert_x509, buf, &len); |
| 566 | apr_table_setn(env, "SSL_SERVER_S_DN", buf); | 566 | apr_table_setn(env, "SSL_SERVER_S_DN", apr_pstrmemdup(r->pool, buf, len)); |
| 567 | 567 | ||
| 568 | len = sizeof(buf); | 568 | len = sizeof(buf); |
| 569 | gnutls_x509_crt_get_issuer_dn(ctxt->sc->cert_x509, buf, &len); | 569 | gnutls_x509_crt_get_issuer_dn(ctxt->sc->cert_x509, buf, &len); |
| 570 | Nokis Mavrogiannopoulos | 2008-03-05 | |
| * | corrected SRP enable flag, and corrected the DBM hook support. It now free da... | 2008-03-03 | |
| * | 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 str... | 2007-12-02 | |
| * | (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.00.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 | |
| * | 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 | |
