summaryrefslogtreecommitdiff
path: root/lib/tls.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'libradsec' into libradsec-server-supportLinus Nordberg2013-05-151-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/HACKING lib/Makefile.am lib/README lib/compat.h lib/conf.c lib/configure.ac lib/conn.c lib/conn.h lib/err.c lib/err.h lib/event.c lib/event.h lib/examples/Makefile.am lib/examples/client-blocking.c lib/examples/client.conf lib/include/radsec/radsec-impl.h lib/include/radsec/radsec.h lib/include/radsec/request-impl.h lib/include/radsec/request.h lib/packet.c lib/packet.h lib/peer.c lib/peer.h lib/request.c lib/send.c lib/tcp.c lib/tests/Makefile.am lib/tls.c lib/udp.c lib/util.c
| * Whitespace changes in license headers.Linus Nordberg2013-05-091-1/+1
| |
| * Include stdlib.h everywhere we call (m|c)alloc.Linus Nordberg2013-05-091-1/+2
| |
* | WIP commit moving towards working server support.Linus Nordberg2013-05-151-12/+13
| |
* | Revamping for listeners.Linus Nordberg2013-03-011-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Split rs_connection into rs_baseconn plus rs_connection and rs_listener. Connections now has a state variable. Connect buffer event and fd of _source_ connection, not that of conn->active_peer. The connection object referred to by a peer is not meant for using as a connection, only for reporting errors on. Make sure things are sane even when not using a config file. Bump library interface version to 1.0.0 since it's changed.
* | WIP commit for listener support.Linus Nordberg2013-02-191-4/+4
| |
* | Add support for configuring client connections too.Linus Nordberg2013-02-111-10/+13
|/ | | | | | | | We're moving x509 and psk config from rs_realm to rs_peer while allowing these to be configured on the realm level and overriden at peer level. Also, add support for printing the read configuration, for debugging.
* Revive radsecproxy.h and hostport_types.h and move rsp_* into radsecproxy/.Linus Nordberg2013-01-221-2/+2
|
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-191-1/+1
| | | | And distribute LICENSE and HACKING.
* Whitespace.Linus Nordberg2012-12-181-3/+3
|
* Implement cert verification.Linus Nordberg2012-04-261-0/+78
| | | | NOTE: Not used yet.
* Conditionally compile TLS-PSK code (--enable-tls-psk).Linus Nordberg2012-04-231-0/+5
| | | | Also, allow for PSK-only configuration, i.e. don't barf on missing cert stuff.
* Don't say RADPROT_TLS when we mean RAD_TLS.Linus Nordberg2012-04-191-1/+1
| | | | | RADPROT_TLS is legacy from radsecproxy and will go away. It happens to be defined to 1, the same as RAD_TLS, so it happens to work.
* Implement TLS-PSK.Linus Nordberg2012-01-311-0/+72
|
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-061-1/+2
| | | | Also, move copyright notice out of COPYING and into every file.
* Error handling cleanupLinus Nordberg2011-03-011-12/+15
| | | | | Remove RSE_SOME_ERROR. rs_tls_init: Push SSL error stack on libradsec error stack.
* Push an ENOMEM error on the connection rather than the context.Linus Nordberg2011-02-201-4/+4
|
* Handle another ENOMEM case.Linus Nordberg2011-02-201-2/+5
|
* Bringing up TLS connections working.Linus Nordberg2010-11-111-0/+73
NOTE: Clean up of resources not yet sane. Expect resource leakages. NOTE: Most failure cases are not handled properly. With the wind at your back and the sun shining, it might work.