Changeset 4e388b0 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Nov 2, 2018, 2:24:00 PM (2 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master, proxy-ticket
Children:
7f2fd55
Parents:
f06c148
Message:

Consistently use strcasecmp() instead of mixing in apr_strnatcasecmp()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    rf06c148 r4e388b0  
    659659        ap_get_module_config(parms->server->module_config, &gnutls_module);
    660660
    661     if (!apr_strnatcasecmp(parms->directive->directive, "GnuTLSCacheTimeout"))
     661    if (!strcasecmp(parms->directive->directive, "GnuTLSCacheTimeout"))
    662662        sc->cache_timeout = apr_time_from_sec(argint);
    663     else if (!apr_strnatcasecmp(parms->directive->directive,
    664                                 "GnuTLSOCSPCacheTimeout"))
     663    else if (!strcasecmp(parms->directive->directive,
     664                         "GnuTLSOCSPCacheTimeout"))
    665665        sc->ocsp_cache_time = apr_time_from_sec(argint);
    666     else if (!apr_strnatcasecmp(parms->directive->directive,
    667                                 "GnuTLSOCSPFailureTimeout"))
     666    else if (!strcasecmp(parms->directive->directive,
     667                         "GnuTLSOCSPFailureTimeout"))
    668668        sc->ocsp_failure_timeout = apr_time_from_sec(argint);
    669     else if (!apr_strnatcasecmp(parms->directive->directive,
    670                                 "GnuTLSOCSPFuzzTime"))
     669    else if (!strcasecmp(parms->directive->directive,
     670                         "GnuTLSOCSPFuzzTime"))
    671671        sc->ocsp_fuzz_time = apr_time_from_sec(argint);
    672     else if (!apr_strnatcasecmp(parms->directive->directive,
    673                                 "GnuTLSOCSPSocketTimeout"))
     672    else if (!strcasecmp(parms->directive->directive,
     673                         "GnuTLSOCSPSocketTimeout"))
    674674        sc->ocsp_socket_timeout = apr_time_from_sec(argint);
    675675    else
Note: See TracChangeset for help on using the changeset viewer.