diff options
author | Nikos Mavrogiannopoulos | 2007-12-02 09:42:34 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2007-12-02 09:42:34 +0000 |
commit | 36736d41e57309d9a30db83f413b568948f92b2b (patch) | |
tree | c5901068cf44d085202c3446169e52b3577436ae /src/gnutls_hooks.c | |
parent | 5cac8446a1e3cf19c54fefd19688151c66cbe9c4 (diff) |
added SSL_SERVER/CLIENT_S_TYPE
Diffstat (limited to 'src/gnutls_hooks.c')
-rw-r--r-- | src/gnutls_hooks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index 6619be5..c1a1c52 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
@@ -848,6 +848,9 @@ mgs_add_common_cert_vars(request_rec * r, gnutls_x509_crt cert, int side, | |||
848 | apr_pstrcat(r->pool, MGS_SIDE, "_M_VERSION", NULL), | 848 | apr_pstrcat(r->pool, MGS_SIDE, "_M_VERSION", NULL), |
849 | apr_psprintf(r->pool, "%u", ret)); | 849 | apr_psprintf(r->pool, "%u", ret)); |
850 | 850 | ||
851 | apr_table_setn(env, | ||
852 | apr_pstrcat(r->pool, MGS_SIDE, "_S_TYPE", NULL), "X.509"); | ||
853 | |||
851 | tmp = | 854 | tmp = |
852 | mgs_time2sz(gnutls_x509_crt_get_expiration_time | 855 | mgs_time2sz(gnutls_x509_crt_get_expiration_time |
853 | (cert), buf, sizeof(buf)); | 856 | (cert), buf, sizeof(buf)); |