Commit 9896a6eb authored by Joe Orton's avatar Joe Orton
Browse files

* modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4

warning "type qualifiers ignored on function return type".


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231014 13f79535-47bb-0310-9956-ffa450edef68
parent 617f1437
Loading
Loading
Loading
Loading
+2 −2
Changes for modules/ldap/util_ldap.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1408,8 +1408,8 @@ static const char *util_ldap_set_opcache_entries(cmd_parms *cmd, void *dummy,
 *
 * If no matches are found, APR_LDAP_CA_TYPE_UNKNOWN is returned.
 */
static const int util_ldap_parse_cert_type(const char *type) {

static int util_ldap_parse_cert_type(const char *type)
{
    /* Authority file in binary DER format */
    if (0 == strcasecmp("CA_DER", type)) {
        return APR_LDAP_CA_TYPE_DER;