Changeset 5342265 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jan 27, 2015, 3:38:35 AM (5 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
c1ef069
Parents:
07d548d
Message:

Close last for loop in mgs_find_sni_server

The closing brace for the last for loop in that function was missing,
which probably wasn't noticed because no one compiled the "#else" part
to the "#if USING_2_1_RECENT" condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r07d548d r5342265  
    620620#endif
    621621
    622 mgs_srvconf_rec *mgs_find_sni_server(gnutls_session_t session) {
     622mgs_srvconf_rec *mgs_find_sni_server(gnutls_session_t session)
     623{
    623624    int rv;
    624625    unsigned int sni_type;
     
    671672
    672673        tsc = (mgs_srvconf_rec *) ap_get_module_config(s->module_config,
    673                 &gnutls_module);
     674                                                       &gnutls_module);
    674675
    675676        if (tsc->enabled != GNUTLS_ENABLED_TRUE) { continue; }
    676677
    677                                 if(check_server_aliases(x, s, tsc)) {
    678                                         return tsc;
    679                                 }
     678        if(check_server_aliases(x, s, tsc)) {
     679            return tsc;
     680        }
     681    }
    680682#endif
    681683    return NULL;
Note: See TracChangeset for help on using the changeset viewer.