CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2020/11/29 12:48:35

Modified files:
        usr.sbin/ldapd : parse.y 

Log message:
Fix cert and key path inference for absolute paths

ldapd infers certificate and key paths from the configured certificate
string.  It appends ".crt" and ".key", respectively, and in the case of
a relative path it also prepends "/etc/ldap/certs/".  A logic error
results in prepending "/etc/ldap/certs/" also for absolute paths. Avoid
this by making the whole thing readable at the cost of a bit of verbosity.

Problem reported by Maksim Rodin on misc@, thanks!
Initial fix from me, committing an improved version on behalf of martijn.

ok jmatthew, tb

Reply via email to