summaryrefslogtreecommitdiffstatsabout
path: root/src/gnutls_hooks.c
diff options
context:
space:
mode:
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));