summaryrefslogtreecommitdiff
path: root/lib/event.c
Commit message (Collapse)AuthorAgeFilesLines
* Move lib to the root.Linus Nordberg2014-02-051-300/+0
|
* Improve initialisation of OpenSSL PRNG.Linus Nordberg2013-12-201-1/+1
| | | | Basic idea taken from Tor.
* Disable/delete events in the timeout callback.Linus Nordberg2013-11-181-0/+15
| | | | | | | | | | | | | Without this, the sequence (1) send (successfully) (2) receive (timeout) (3) resend (successfully) will have the read event from (2) trigger a read in (3) and the response is lost. Addresses LIBRADSEC-3.
* Don't provide bogus info in an error.Linus Nordberg2013-05-171-3/+1
|
* Update copyright years.Linus Nordberg2013-05-091-2/+2
|
* Do the test for PSK properly.Linus Nordberg2013-01-241-3/+1
| | | | Fixes 823ea9ba.
* Don't verify server certificate if we're using PSK.Linus Nordberg2013-01-241-2/+3
|
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-191-1/+1
| | | | And distribute LICENSE and HACKING.
* Merge libradsec-new-client.Linus Nordberg2012-04-271-0/+3
|\
| * port to new RADIUS client libraryLuke Howard2011-11-141-0/+3
| |
* | Verify certificate CN against configured hostname.Linus Nordberg2012-04-261-1/+15
| | | | | | | | NOTE: The subjectAltName check is not well tested.
* | Postpone resolving of DNS names of server.Linus Nordberg2012-04-251-8/+19
|/ | | | | | | | | | We used to resolve DNS names when reading configuration. We now do it in event_init_socket() and cache the result in the connection object. The imminent need for changing this is to keep host names around for X509 certificate verification (CNAME and subjectAltName). This will also help later when we implement server failover (and later, when people want to do more dynamic configuration, f.ex. NAPTR).
* event_enable_debug_mode() must be called at most once.Linus Nordberg2011-09-221-1/+6
|
* Add retransmission timer support (UDP).Linus Nordberg2011-03-091-3/+40
|
* Move event_set_timeout --> tcp_set_connect_timeout.Linus Nordberg2011-03-061-37/+3
|
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-061-0/+252
Also, move copyright notice out of COPYING and into every file.