summaryrefslogtreecommitdiff
path: root/lib/examples
Commit message (Collapse)AuthorAgeFilesLines
* Example code: Don't create rs_error on failing context creation.Linus Nordberg2012-12-171-4/+5
| | | | We don't export err_create() and the error is ENOMEM nowadays.
* Merge libradsec-new-client.Linus Nordberg2012-04-272-9/+3
|\
| * remove dictionary configuration parameterLuke Howard2011-11-141-2/+0
| |
| * remove rs_packet_frpktLuke Howard2011-11-141-3/+2
| |
| * remove rs_context_init_freeradius_dictLuke Howard2011-11-141-4/+0
| |
| * port to new RADIUS client libraryLuke Howard2011-11-141-1/+2
| |
* | Handle failing rs_context_create().Linus Nordberg2012-04-261-1/+7
| |
* | Implement TLS-PSK.Linus Nordberg2012-01-311-3/+4
| |
* | Be user friendly in example program.Linus Nordberg2012-01-241-0/+9
| |
* | Add TLS PSK configuration options.Linus Nordberg2012-01-241-0/+3
| |
* | Cosmetic changes.Linus Nordberg2012-01-191-3/+4
|/ | | | Better names of formal arguments in test program.
* examples/client.conf: Correct key file.Linus Nordberg2011-04-011-1/+1
|
* Don't install example programs.Linus Nordberg2011-03-251-1/+1
|
* Add tests/demoCA and use certs and key in there for the examples.Linus Nordberg2011-03-251-4/+3
|
* API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more.Linus Nordberg2011-03-213-16/+25
| | | | | | | Use rs_context_create() to read FreeRADIUS dictionary, possibly by taking dict file from configuration file. CONFIG CHANGE: s/config/realm/g.
* Verify result in example program. Also, don't leak a package.Linus Nordberg2011-03-141-1/+9
|
* Don't double free in example code.Linus Nordberg2011-03-131-6/+2
|
* Change user name in example code.Linus Nordberg2011-03-131-1/+1
|
* Add (disabled) linkage to libefence.Linus Nordberg2011-03-081-1/+1
|
* examples/client-blocking: pull out the error before freeing conn.Linus Nordberg2011-03-081-1/+3
|
* Clean up struct rs_error somewhat.Linus Nordberg2011-03-081-1/+1
| | | | More to be done here!
* examples/client-blocking.c: Clean up and improve error handling.Linus Nordberg2011-03-071-37/+31
|
* UDP w/o bufferevents, part 1.Linus Nordberg2011-03-061-3/+3
| | | | Sending, no retransmitting and no receiving.
* Rename relevant functions to reflect authn as opposed to authz.Linus Nordberg2011-02-281-2/+2
| | | | Also add a "bare" create request function.
* API changes: rs_client* --> rs_peer.Linus Nordberg2011-02-281-5/+5
| | | | | Move peer (former server) things to new file peer.c. Update examples.
* API change. Have the request object create its own request message.Linus Nordberg2011-02-251-5/+5
|
* Split example config in two files.Linus Nordberg2011-02-242-0/+24
|
* Split example config in two files.Linus Nordberg2011-02-241-30/+0
|
* Use AM_CFLAGS when setting CFLAGS.Linus Nordberg2011-02-191-1/+1
|
* Do build examples with -Wall -g.Linus Nordberg2011-02-041-2/+2
|
* Initialize pointer in example program before trusting it.Linus Nordberg2011-02-041-5/+6
|
* Pick usage of struct request in example code at run time.Linus Nordberg2011-02-022-23/+29
|
* Follow API changes.linus2011-01-211-3/+3
|
* Use standard RadSec port in example config.Linus Nordberg2010-11-111-1/+1
|
* Bringing up TLS connections working.Linus Nordberg2010-11-111-1/+21
| | | | | | | 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.
* Use the request object in example programs.Linus Nordberg2010-10-281-1/+1
|
* "Thou shalt not follow the NULL pointer, for chaos and madness awaitLinus Nordberg2010-10-281-6/+10
| | | | thee at its end."
* Have rad_decode() verify responses.Luke Howard2010-10-111-4/+10
|
* Rename rs_req_* --> rs_request_.Linus Nordberg2010-10-101-2/+2
| | | | Contributed by Luke Howard.
* Rename struct rs_handle --> rs_context.Linus Nordberg2010-10-051-1/+1
|
* Autotoolize.Linus Nordberg2010-10-052-15/+8
|
* Rename top level token "realm" --> "config".Linus Nordberg2010-10-041-1/+1
|
* WIP -- reading configuration.Linus Nordberg2010-10-043-15/+28
|
* WIPLinus Nordberg2010-10-032-5/+8
|
* WIPLinus Nordberg2010-10-031-9/+15
|
* Rename the error functions.Linus Nordberg2010-10-031-9/+9
|
* WIP -- prepare for request objects.Linus Nordberg2010-10-032-3/+20
|
* WIPLinus Nordberg2010-10-032-10/+1
|
* WIP.Linus Nordberg2010-10-022-2/+2
|
* WIPLinus Nordberg2010-10-022-10/+14
|