aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls_hooks.c
diff options
context:
space:
mode:
authorGravatar Nokis Mavrogiannopoulos 2007-12-02 09:42:34 +0000
committerGravatar Nokis Mavrogiannopoulos 2007-12-02 09:42:34 +0000
commitfd94836e5162428f15393d4f9ea902533d9e1e90 (patch)
treec5901068cf44d085202c3446169e52b3577436ae /src/gnutls_hooks.c
parent3346bde60f584c3d64216cf8569c231ee6f6b74c (diff)
added SSL_SERVER/CLIENT_S_TYPE
Diffstat (limited to 'src/gnutls_hooks.c')
-rw-r--r--src/gnutls_hooks.c3
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));