Changeset cb60afc in mod_gnutls


Ignore:
Timestamp:
Nov 22, 2012, 1:12:35 PM (7 years ago)
Author:
Dash Shendy <neuromancer@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
62917e9, 8c03808
Parents:
e3d36c7
Message:

Bugfix: check_server_aliases()

Signed-off-by: Dash Shendy <neuromancer@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    re3d36c7 rcb60afc  
    520520        apr_array_header_t *names;
    521521        int i,rv = 0;
     522        char ** name;
    522523
    523524        /* Check ServerName First! */
     
    529530        } else if(s->names->nelts) {
    530531                names = s->names;
    531                 char **name = (char **)names->elts;
     532                name = (char **)names->elts;
    532533                for (i = 0; i < names->nelts; ++i) {
    533534                        if (!name[i]) { continue; }
     
    541542        } else if(s->wild_names->nelts) {
    542543                names = s->wild_names;
    543     char **name = (char **)names->elts;
     544        name = (char **)names->elts;
    544545                for (i = 0; i < names->nelts; ++i) {
    545546                        if (!name[i]) { continue; }
Note: See TracChangeset for help on using the changeset viewer.