Changeset af4998e in mod_gnutls
- Timestamp:
- Dec 2, 2007, 4:44:33 AM (15 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, msva, proxy-ticket, upstream
- Children:
- ea470be
- Parents:
- 36736d4
- git-author:
- Nikos Mavrogiannopoulos <nmav@…> (12/02/07 04:44:33)
- git-committer:
- Nokis Mavrogiannopoulos <nmav@…> (12/02/07 04:44:33)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
NEWS
r36736d4 raf4998e 4 4 Only one per certificate is supported. 5 5 6 - New enviroment variables: SSL_CLIENT_M_VERSION, SSL_CLIENT_S AN%,7 SSL_ SERVER_M_VERSION, SSL_SERVER_SAN%6 - New enviroment variables: SSL_CLIENT_M_VERSION, SSL_CLIENT_S_SAN%, 7 SSL_CLIENT_S_TYPE, SSL_SERVER_M_VERSION, SSL_SERVER_S_SAN%, SSL_SERVER_S_TYPE -
README.ENV
r36736d4 raf4998e 20 20 SSL_CLIENT_S_DN: The distinguished name of client's certificate in RFC2253 format. 21 21 SSL_CLIENT_I_DN: The distinguished name of client's issuer certificate in RFC2253 format. 22 SSL_CLIENT_S AN%: These will contain the alternative names of the client certificate22 SSL_CLIENT_S_SAN%: These will contain the alternative names of the client certificate 23 23 (% is a number starting from zero). The values will be prepended by "DNSNAME:", 24 24 "RFC822NAME:" or "URI:" depending on the type. If it is not supported the value … … 37 37 SSL_SERVER_S_DN: The distinguished name of the server's certificate in RFC2253 format. 38 38 SSL_SERVER_I_DN: The distinguished name of the server's issuer certificate in RFC2253 format. 39 SSL_SERVER_S AN%: These will contain the alternative names of the server certificate39 SSL_SERVER_S_SAN%: These will contain the alternative names of the server certificate 40 40 (% is a number starting from zero). The values will be prepended by "DNSNAME:", 41 41 "RFC822NAME:" or "URI:" depending on the type. If it is not supported the value -
src/gnutls_hooks.c
r36736d4 raf4998e 892 892 if (ret == GNUTLS_SAN_DNSNAME) { 893 893 apr_table_setn(env, 894 apr_psprintf(r->pool, "%s_S AN%u", MGS_SIDE, i),894 apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i), 895 895 apr_psprintf(r->pool, "DNSNAME:%s", tmp2)); 896 896 } else if (ret == GNUTLS_SAN_RFC822NAME) { 897 897 apr_table_setn(env, 898 apr_psprintf(r->pool, "%s_S AN%u", MGS_SIDE, i),898 apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i), 899 899 apr_psprintf(r->pool, "RFC822NAME:%s", tmp2)); 900 900 } else if (ret == GNUTLS_SAN_URI) { 901 901 apr_table_setn(env, 902 apr_psprintf(r->pool, "%s_S AN%u", MGS_SIDE, i),902 apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i), 903 903 apr_psprintf(r->pool, "URI:%s", tmp2)); 904 904 } else { 905 905 apr_table_setn(env, 906 apr_psprintf(r->pool, "%s_S AN%u", MGS_SIDE, i),906 apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i), 907 907 "UNSUPPORTED"); 908 908 }
Note: See TracChangeset
for help on using the changeset viewer.