Re: constify auth functions

2016-09-02 Thread Ted Unangst
Todd C. Miller wrote: > On Thu, 01 Sep 2016 13:27:49 -0400, "Ted Unangst" wrote: > > > Ted Unangst wrote: > > > I'm getting annoying warnings because these functions aren't const. > > > > so > > > > turns out several of these functions *do* modify their parameters. which is > > probably chao

Re: constify auth functions

2016-09-01 Thread Todd C. Miller
On Thu, 01 Sep 2016 13:27:49 -0400, "Ted Unangst" wrote: > Ted Unangst wrote: > > I'm getting annoying warnings because these functions aren't const. > > so > > turns out several of these functions *do* modify their parameters. which is > probably chaos, because i think we sometimes call the

Re: constify auth functions

2016-09-01 Thread Ted Unangst
Ted Unangst wrote: > I'm getting annoying warnings because these functions aren't const. so turns out several of these functions *do* modify their parameters. which is probably chaos, because i think we sometimes call them with const parameters.

Re: constify auth functions

2016-09-01 Thread Todd C. Miller
On Thu, 01 Sep 2016 10:51:06 -0400, "Ted Unangst" wrote: > I'm getting annoying warnings because these functions aren't const. As we're the only users of BSD auth I think this is fine. - todd

constify auth functions

2016-09-01 Thread Ted Unangst
I'm getting annoying warnings because these functions aren't const. Index: include/bsd_auth.h === RCS file: /cvs/src/include/bsd_auth.h,v retrieving revision 1.10 diff -u -p -r1.10 bsd_auth.h --- include/bsd_auth.h 21 Apr 2014 11:27