From 36736d41e57309d9a30db83f413b568948f92b2b Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 2 Dec 2007 09:42:34 +0000 Subject: added SSL_SERVER/CLIENT_S_TYPE --- src/gnutls_hooks.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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, apr_pstrcat(r->pool, MGS_SIDE, "_M_VERSION", NULL), apr_psprintf(r->pool, "%u", ret)); + apr_table_setn(env, + apr_pstrcat(r->pool, MGS_SIDE, "_S_TYPE", NULL), "X.509"); + tmp = mgs_time2sz(gnutls_x509_crt_get_expiration_time (cert), buf, sizeof(buf)); -- cgit