summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use malloc+memcpy rather than calloc+strcpy in rs_strdup.Linus Nordberg2013-05-091-5/+10
| | | | For effiency (but triggered by calloc needing unistd.h on Darwin).
* Revert "Bump library interface revision."Linus Nordberg2013-05-081-1/+1
| | | | | | | | | | | | | | | So there were two things wrong with that commit. 1. Library interface revision should be bumped only immediately before a public release. 2. Given the changes in the library, it should change to 0:1:0 since the interface didn't change (including not being extended). This reverts commit b9e967b3cde6af41cd0e863e9ff073897019625a. Conflicts: lib/Makefile.am
* Clarify and reformat comments on how to use Libtool's -version-info.Linus Nordberg2013-05-081-10/+10
|
* Pass make distcheck.Linus Nordberg2013-05-085-12/+19
|
* Don't include tests in SUBIDRS after all.Linus Nordberg2013-05-081-1/+2
| | | | | It requires a running radius server. That's not a nice thing to require for something like distcheck.
* Initial RPM packagingLinus Nordberg2013-05-083-5/+97
| | | | | | | | | | | Adapted from commit 8ff4e9ab2308fc6ee1e9b140d85ba45eff5287ce Author: Sam hartman <hartmans@painless-security.com> Date: Mon Oct 10 15:25:11 2011 +0100 Conflicts: lib/Makefile.am lib/configure.ac
* Add a few bits to README.Linus Nordberg2013-05-081-8/+23
|
* Exit tests with number of failures.Linus Nordberg2013-05-081-2/+4
| | | | Now 'make check' really fails when a test fails.
* Add 'tests' to SUBDIRS to make 'make check' work.Linus Nordberg2013-05-081-1/+1
|
* Constify the MD5 implementation.Linus Nordberg2013-05-082-4/+4
|
* Push an error on the error stack when returning !RSE_OK.Linus Nordberg2013-05-081-1/+1
|
* Revive RSE_MAX.Linus Nordberg2013-05-081-0/+1
| | | | It's being used after all.
* Add an assert in error handling code.Linus Nordberg2013-05-081-0/+2
|
* Remove an unused error code and unusued RSE_MAX.Linus Nordberg2013-05-082-50/+0
| | | | Also, remove unused file attr.c.
* Follow API change in tests.Linus Nordberg2013-05-081-5/+3
|
* Revert "Add formal argument 'secret' to two public functions."Linus Nordberg2013-05-085-21/+12
| | | | | | | This reverts commit 09d1cff2418a900b587b2113f508984f2417cc11. Conflicts: lib/include/radsec/request.h
* Add and fix RADIUS attributes (4b9e4cb1, e4b6e972).Sam Hartman2013-05-073-5/+12
| | | | | | | | | Fix capitalization in abfab dictionary Update to IETF RADIUS attributes draft-ietf-abfab-gss-eap has been approved; include IANA-issued standard radius attributes for Moonshot. Fix capitalization in abfab dictionary
* Build include before building '.'Linus Nordberg2013-05-071-1/+1
| | | | Patch by Sam Hartman (ff1af013 in moonshot).
* Use CUnit for tests.Linus Nordberg2013-05-067-78/+71
| | | | cgreen didn't seem properly maintained. CUnit seems to be widely used.
* Bump library interface revision.Linus Nordberg2013-05-061-1/+1
| | | | | | | Commit edf4c047 claimed it did this but didn't really do it. Should really have been done as part of bumping the library version (0.0.2.dev in configure.ac).
* Bump version to 0.0.4.dev to keep ahead of moonshot.Linus Nordberg2013-05-062-2/+2
|
* Improve documentation.Linus Nordberg2013-01-291-8/+13
|
* Remove dead code.Linus Nordberg2013-01-282-10/+1
|
* Update HACKING with a rough road map.Linus Nordberg2013-01-251-5/+6
|
* Add PSK example in examples/client.conf.Linus Nordberg2013-01-241-4/+15
|
* Do the test for PSK properly.Linus Nordberg2013-01-241-3/+1
| | | | Fixes 823ea9ba.
* Add two helper functions to conn.[ch].Linus Nordberg2013-01-242-0/+17
|
* Order functions properly in conn.c.Linus Nordberg2013-01-242-18/+20
|
* Don't verify server certificate if we're using PSK.Linus Nordberg2013-01-241-2/+3
|
* Add missing key files to demoCA.Linus Nordberg2013-01-242-0/+18
|
* Rename rs_packet_flags members.Linus Nordberg2013-01-244-11/+11
| | | | | | | | | Uppercase to make them appear as the constants they are, as opposed to variables. Remove 'flag' suffix, typically used for variables. Spell out HEADER.
* New demo CA for tests.Linus Nordberg2013-01-238-131/+105
| | | | Update examples config file accordingly.
* Handle case where config hasn't yet been read better.Linus Nordberg2013-01-231-2/+4
| | | | Don't segfault is a good start.
* Add some info on usage modes.Linus Nordberg2013-01-232-9/+27
|
* Add docstrings and a comment.Linus Nordberg2013-01-221-3/+15
|
* Remove unnecessary #includes.Linus Nordberg2013-01-221-5/+1
|
* Whitespace.Linus Nordberg2013-01-221-1/+1
|
* Compile with -Werror.Linus Nordberg2013-01-224-4/+4
|
* Remove incorrect build instruction from HACKING.Linus Nordberg2013-01-221-1/+0
|
* Add md5.[ch] for when we are configured without OpenSSL.Linus Nordberg2013-01-224-22/+347
| | | | | | | | | | | This is Solar Designers implementation from http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 . RS_MD5Transform goes away since it's not in md5.h. It's not used in lib/radius/. Might want to move this into lib/radius/ if we end up not using it in lib/.
* Revive radsecproxy.h and hostport_types.h and move rsp_* into radsecproxy/.Linus Nordberg2013-01-2220-28/+357
|
* Update README and HACKING.libradsec-new-clientLinus Nordberg2013-01-212-22/+23
| | | | | | | | | | Whitespace fixes. Say Debian instead of Ubuntu. Update versions of library dependencies. HACKING: Revive the "fully reentrant" design goal. Admit that we don't implement a server API.
* Fix a doc comment.Linus Nordberg2013-01-161-4/+5
|
* Define WITHOUT_OPENSSL if we don't have openssl.Linus Nordberg2012-12-191-0/+4
| | | | | | | This is for radius/client.h. We will want an alternative way of getting MD5. Include md5.[ch] from FreeBSD? Link with libnettle?
* Fix typos.Linus Nordberg2012-12-191-2/+2
| | | | #error messages.
* Remove generated autotools files.Linus Nordberg2012-12-1912-21531/+4
|
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-1945-48/+50
| | | | And distribute LICENSE and HACKING.
* Remove the option to use GPLv2 as the license.Linus Nordberg2012-12-1811-78/+31
| | | | | | | This follows the changes to the upstream radsecproxy repository. Also, Stig Venaas is removed from all copyright, replaced by UNINETT. Add JANET as copyright holder (avp.c).
* Config docu.Linus Nordberg2012-12-181-2/+2
|
* Whitespace.Linus Nordberg2012-12-181-3/+3
|