Changeset af4998e in mod_gnutls


Ignore:
Timestamp:
Dec 2, 2007, 4:44:33 AM (12 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, 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)
Message:
 
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEWS

    r36736d4 raf4998e  
    44Only one per certificate is supported.
    55
    6 - New enviroment variables: SSL_CLIENT_M_VERSION, SSL_CLIENT_SAN%,
    7 SSL_SERVER_M_VERSION, SSL_SERVER_SAN%
     6- New enviroment variables: SSL_CLIENT_M_VERSION, SSL_CLIENT_S_SAN%,
     7SSL_CLIENT_S_TYPE, SSL_SERVER_M_VERSION, SSL_SERVER_S_SAN%, SSL_SERVER_S_TYPE
  • README.ENV

    r36736d4 raf4998e  
    2020SSL_CLIENT_S_DN: The distinguished name of client's certificate in RFC2253 format.
    2121SSL_CLIENT_I_DN: The distinguished name of client's issuer certificate in RFC2253 format.
    22 SSL_CLIENT_SAN%: These will contain the alternative names of the client certificate
     22SSL_CLIENT_S_SAN%: These will contain the alternative names of the client certificate
    2323  (% is a number starting from zero). The values will be prepended by "DNSNAME:",
    2424  "RFC822NAME:" or "URI:" depending on the type. If it is not supported the value
     
    3737SSL_SERVER_S_DN: The distinguished name of the server's certificate in RFC2253 format.
    3838SSL_SERVER_I_DN: The distinguished name of the server's issuer certificate in RFC2253 format.
    39 SSL_SERVER_SAN%: These will contain the alternative names of the server certificate
     39SSL_SERVER_S_SAN%: These will contain the alternative names of the server certificate
    4040  (% is a number starting from zero). The values will be prepended by "DNSNAME:",
    4141  "RFC822NAME:" or "URI:" depending on the type. If it is not supported the value
  • src/gnutls_hooks.c

    r36736d4 raf4998e  
    892892            if (ret == GNUTLS_SAN_DNSNAME) {
    893893                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),
    895895                       apr_psprintf(r->pool, "DNSNAME:%s", tmp2));
    896896            } else if (ret == GNUTLS_SAN_RFC822NAME) {
    897897                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),
    899899                       apr_psprintf(r->pool, "RFC822NAME:%s", tmp2));
    900900            } else if (ret == GNUTLS_SAN_URI) {
    901901                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),
    903903                       apr_psprintf(r->pool, "URI:%s", tmp2));
    904904            } else {
    905905                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),
    907907                       "UNSUPPORTED");
    908908            }
Note: See TracChangeset for help on using the changeset viewer.