diff options
author | Nokis Mavrogiannopoulos | 2007-12-02 09:44:33 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2007-12-02 09:44:33 +0000 |
commit | d51667e406c2099865a4eec366fdab9d4578b683 (patch) | |
tree | 31c20456e88ea0c8366a3f9fc7c9d8b3bcaa9d6e /src/gnutls_hooks.c | |
parent | fd94836e5162428f15393d4f9ea902533d9e1e90 (diff) |
Diffstat (limited to 'src/gnutls_hooks.c')
-rw-r--r-- | src/gnutls_hooks.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index c1a1c52..1af82a7 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
@@ -891,19 +891,19 @@ mgs_add_common_cert_vars(request_rec * r, gnutls_x509_crt cert, int side, | |||
891 | 891 | ||
892 | if (ret == GNUTLS_SAN_DNSNAME) { | 892 | if (ret == GNUTLS_SAN_DNSNAME) { |
893 | apr_table_setn(env, | 893 | apr_table_setn(env, |
894 | apr_psprintf(r->pool, "%s_SAN%u", MGS_SIDE, i), | 894 | apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i), |
895 | apr_psprintf(r->pool, "DNSNAME:%s", tmp2)); | 895 | apr_psprintf(r->pool, "DNSNAME:%s", tmp2)); |
896 | } else if (ret == GNUTLS_SAN_RFC822NAME) { | 896 | } else if (ret == GNUTLS_SAN_RFC822NAME) { |
897 | apr_table_setn(env, | 897 | apr_table_setn(env, |
898 | apr_psprintf(r->pool, "%s_SAN%u", MGS_SIDE, i), | 898 | apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i), |
899 | apr_psprintf(r->pool, "RFC822NAME:%s", tmp2)); | 899 | apr_psprintf(r->pool, "RFC822NAME:%s", tmp2)); |
900 | } else if (ret == GNUTLS_SAN_URI) { | 900 | } else if (ret == GNUTLS_SAN_URI) { |
901 | apr_table_setn(env, | 901 | apr_table_setn(env, |
902 | apr_psprintf(r->pool, "%s_SAN%u", MGS_SIDE, i), | 902 | apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i), |
903 | apr_psprintf(r->pool, "URI:%s", tmp2)); | 903 | apr_psprintf(r->pool, "URI:%s", tmp2)); |
904 | } else { | 904 | } else { |
905 | apr_table_setn(env, | 905 | apr_table_setn(env, |
906 | apr_psprintf(r->pool, "%s_SAN%u", MGS_SIDE, i), | 906 | apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i), |
907 | "UNSUPPORTED"); | 907 | "UNSUPPORTED"); |
908 | } | 908 | } |
909 | } | 909 | } |