aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls_hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnutls_hooks.c')
-rw-r--r--src/gnutls_hooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c
index 9ac17a0..82a9a99 100644
--- a/src/gnutls_hooks.c
+++ b/src/gnutls_hooks.c
@@ -750,8 +750,8 @@ int mgs_hook_fixups(request_rec * r)
750 (ctxt->session))); 750 (ctxt->session)));
751 751
752#ifdef ENABLE_SRP 752#ifdef ENABLE_SRP
753 apr_table_setn(env, "SSL_SRP_USER", 753 tmp = gnutls_srp_server_get_username(ctxt->session);
754 gnutls_srp_server_get_username(ctxt->session)); 754 apr_table_setn(env, "SSL_SRP_USER", (tmp!=NULL)?tmp:"");
755#endif 755#endif
756 756
757 if (apr_table_get(env, "SSL_CLIENT_VERIFY") == NULL) 757 if (apr_table_get(env, "SSL_CLIENT_VERIFY") == NULL)