]> granicus.if.org Git - apache/commitdiff
Allow relative paths for LDAPTrustedCA to be resolved against ServerRoot PR#26602
authorBradley Nicholes <bnicholes@apache.org>
Wed, 9 Jun 2004 21:54:50 +0000 (21:54 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Wed, 9 Jun 2004 21:54:50 +0000 (21:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103877 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/util_ldap.c

index e5a32e0f517377d9244954944da01c566fce3a65..6493527880843822527df6377f4ffdbd018e65d8 100644 (file)
@@ -1080,7 +1080,7 @@ static const char *util_ldap_set_cert_auth(cmd_parms *cmd, void *dummy, const ch
                       "LDAP: SSL trusted certificate authority file - %s", 
                        file);
 
-    st->cert_auth_file = apr_pstrdup(cmd->pool, file);
+    st->cert_auth_file = ap_server_root_relative(cmd->pool, file);
 
     return(NULL);
 }