[INN-COMMITTERS] inn/authprogs (libauth.c libauth.h)

Russ Allbery Russ_Allbery at isc.org
Sun Aug 11 05:08:14 UTC 2002


    Date: Saturday, August 10, 2002 @ 22:08:14
  Author: rra
    Path: /dist1/cvs/isc/inn/inn/authprogs

Modified: libauth.c libauth.h

Change the interface to get_auth to return a struct with allocated strings
rather than to accept two buffers, just to be paranoid about buffer
overflows.  Don't include clibrary.h in libauth.h even though all the
includers do use it because not having the C files include that themselves
is different than the other parts of INN.  Move NAMESTR and PASSSTR into
libauth.c since no callers should know about them.


-----------+
 libauth.c |   66 +++++++++++++++++++++++++++++++++++++++---------------------
 libauth.h |   23 +++++++++-----------
 2 files changed, 53 insertions(+), 36 deletions(-)


More information about the inn-committers mailing list