httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Trawick" <traw...@gmail.com>
Subject Re: PATCH: support utilities should enable crypt() , current htdbm checks broken
Date Fri, 16 Mar 2007 18:13:57 GMT
On 3/16/07, William A. Rowe, Jr. <wrowe@rowe-clan.net> wrote:
> Jeff Trawick wrote:
> >
> > APR doesn't pretend to figure out for APR apps exactly what the system
> > provides, though there is currently a spotty set of APR_HAS_foo.
> >
> > Meanwhile, httpd goes and searches on its own for things APR doesn't
> > tell anyone about.  I'm curious about other opinions on whether or not
> > it is APR's job to tell what is available.
>
> In httpd, we don't call crypt(), we call APR

maybe this is the point of confusion...

httpd does call crypt()

$ grep crypt support/*c
...
support/htdbm.c:            apr_cpystrn(cpw, crypt(htdbm->userpass,
salt), sizeof(cpw) - 1);
...
support/htpasswd.c:        apr_cpystrn(cpw, crypt(pw, salt), sizeof(cpw) - 1);
...

Mime
View raw message