| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update to rra-c-util 4.2:
* Improve the xstrndup utility function.
* Simplify the test suite calls for Kerberos and remctl tests.
Update to C TAP Harness 1.10:
* Add bstrndup function to the C TAP library.
Eliminate a bunch of complexity in the Kerberos and remctl tests
to take advantage of the new TAP framework. Remove the chdirs in
all the C code in favor of generating the remctld configuration
with Autoconf and adding a chdir to the backend command it runs.
Change-Id: Idfa75029eebef378edc177ac3528bfe1cb7adb85
Reviewed-on: https://gerrit.stanford.edu/250
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
|
|
|
|
|
|
|
|
|
|
|
| |
* Check for a missing ssize_t.
* Correctly remove -I/usr/include from Kerberos and GSS-API flags.
* Fix message utility library compiler warnings on 64-bit systems.
Change-Id: I974144c41edfc2b07e8a4c01707eccddb2dba835
Reviewed-on: https://gerrit.stanford.edu/229
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use PATH_KRB5_CONFIG as the environment variable to set the path to
krb5-config rather than KRB5_CONFIG, since the latter is used by the
Kerberos libraries to specify an alternative path to krb5.conf.
* Avoid using krb5-config if --with-{krb5,gssapi}-{include,lib} given.
* Fix use of long long in portable/mkstemp.c.
Change-Id: Ie21521ec9c37773d0cda19ada8bc932f45611c6e
Reviewed-on: https://gerrit.stanford.edu/177
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
|
|
|
|
|
|
|
|
|
|
|
| |
* Add notices to all files copied over from rra-c-util.
* Fix warnings when reporting memory allocation failure in messages.c.
* Include strings.h for additional POSIX functions where found.
Change-Id: Ic998e8e76e59f612409ed5f380cb07a49a53f01d
Reviewed-on: https://gerrit.stanford.edu/111
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new struct webauth_token that has the token type and then a
union of all the various token structs. Collapse all of the various
token decoding routines into one, which returns that struct. Adjust
callers and the test suite accordingly.
Also add functions webauth_token_type_code and
webauth_token_type_string, which convert between string names of
tokens and their type codes.
Change-Id: Iabab8e82cd64eddcb2809896432465e2b283f157
Reviewed-on: https://gerrit.stanford.edu/91
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
|
|
|
|
|
|
|
| |
* Fix broken GCC attribute markers causing compilation problems.
* Kerberos library probing fixes without transitive shared libraries.
* Fix Autoconf warnings when probing for AIX's bundled Kerberos.
* Update warning flags for GCC 4.6.1.
|
|
|
|
|
|
|
| |
* Look for krb5-config in /usr/kerberos/bin after the user's PATH.
* Update utility library and test suite for newer GCC warnings.
Plus some other, more minor changes.
|
|
|
|
|
|
|
|
|
| |
Now that make warnings is useful for the Apache modules, clean up
all warnings and make the data type fixes similar to the improvements
in libwebauth.
Modify util/macros.h so that it can be used without including config.h
since config.h conflicts with Apache's header files.
|
|
Convert the extra libwebauth Kerberos tests to use libtap and my
normal test configuration system and run them by default. Add
documentation for how to configure the Kerberos tests.
Running these tests properly required importing more of the test
framework from rra-c-util, including the portability layer and some
portions of libutil. These are not yet used through the rest of
the code but will be in the future.
Temporarily add some additional probes to m4/krb5.m4. This file
will be replaced by the version from rra-c-util in the near future.
|