Changeset 25dad18 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Dec 10, 2007, 5:49:20 PM (12 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
619953c
Parents:
c0a2ae1
git-author:
Nikos Mavrogiannopoulos <nmav@…> (12/10/07 17:49:20)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (12/10/07 17:49:20)
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    rc0a2ae1 r25dad18  
    794794
    795795    apr_table_setn(env,
     796       apr_pstrcat(r->pool, MGS_SIDE, "_CERT_TYPE", NULL), "X.509");
     797#ifdef COMPAT
     798    apr_table_setn(env,
    796799       apr_pstrcat(r->pool, MGS_SIDE, "_S_TYPE", NULL), "X.509");
     800#endif
    797801
    798802    tmp =
     
    836840            if (ret == GNUTLS_SAN_DNSNAME) {
    837841                apr_table_setn(env,
    838                        apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i),
     842                       apr_psprintf(r->pool, "%s_S_AN%u", MGS_SIDE, i),
    839843                       apr_psprintf(r->pool, "DNSNAME:%s", tmp2));
    840844            } else if (ret == GNUTLS_SAN_RFC822NAME) {
    841845                apr_table_setn(env,
    842                        apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i),
     846                       apr_psprintf(r->pool, "%s_S_AN%u", MGS_SIDE, i),
    843847                       apr_psprintf(r->pool, "RFC822NAME:%s", tmp2));
    844848            } else if (ret == GNUTLS_SAN_URI) {
    845849                apr_table_setn(env,
    846                        apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i),
     850                       apr_psprintf(r->pool, "%s_S_AN%u", MGS_SIDE, i),
    847851                       apr_psprintf(r->pool, "URI:%s", tmp2));
    848852            } else {
    849853                apr_table_setn(env,
    850                        apr_psprintf(r->pool, "%s_S_SAN%u", MGS_SIDE, i),
     854                       apr_psprintf(r->pool, "%s_S_AN%u", MGS_SIDE, i),
    851855                       "UNSUPPORTED");
    852856            }
Note: See TracChangeset for help on using the changeset viewer.