summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year fixes.Linus Nordberg2016-11-011-1/+2
|
* Make addr2string(), returning a literal string, const.Linus Nordberg2016-10-191-1/+1
|
* Exit if stringcopy() fails at allocating memory.Linus Nordberg2016-10-181-1/+1
| | | | | | Writing to 0 seems unwise to me. Returning NULL will simply move the problem to the callers. I admit that a better fix would be to fix all the callers.
* Fix some issues showing when DEBUG is defined.Linus Nordberg2015-01-161-1/+1
|
* Adjust copyright lines to reflect git (svn) history of each and every file.Linus Nordberg2012-11-121-2/+1
| | | | | | The LICENSE file still aims to reflect a summary of all files. The LICENSE file was changed to not include year 2006 since there was no evidence in git (svn) of any contributions from that year.
* Formatting changes.licensing-nogplLinus Nordberg2012-09-251-2/+2
| | | | | | | | | And, actually, a typo in catgconf.c. Cherry-picked b712a6bf from branch 'licensing'. Conflicts: LICENSE
* Remove the "Code contributions from" block from three files.Linus Nordberg2012-09-171-5/+0
| | | | | | | The contributors are mentioned in AUTHORS and these blocks are not being maintained. Info about what person has written what in source files should be obtained through the source control management system (i.e. git).
* Remove the second copyright line, with both UNINETT and NORDUnet.Linus Nordberg2012-09-171-1/+0
| | | | The overlap is clearly expressed without it.
* Remove Stig from first copyright line.Linus Nordberg2012-09-171-1/+1
|
* Update copyright and licensing information.Linus Nordberg2012-09-141-7/+4
| | | | | | Note that this change makes all files carry the same copyright info, regardless of when they've been touched. People interested in more detail will have to consult the commit history.
* Remove unused code.Linus Nordberg2011-09-291-32/+0
|
* Add Emacs local variable for stroustrup style.linus2010-03-231-0/+4
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@530 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Reindent and remove trailing whitespace.linus2010-03-081-11/+11
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@517 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Creditskolla2009-09-111-0/+5
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@511 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Added Stefan's UDP fragmentation fixkolla2009-09-111-0/+25
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@510 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* fixed addr_copy function for bsdvenaas2009-02-271-0/+3
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@485 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* fixed a bug with possible segfault in tcpconnect code, updated radsecproxy.1venaas2009-02-171-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@476 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* timeout for connectvenaas2009-02-051-2/+43
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@467 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* made it so it works with mix of dynamic and static servers for a realmvenaas2009-01-131-0/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@457 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* moved more code to tlscommon, fixed a couple of minor lint warningsvenaas2008-12-221-25/+3
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@447 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* some code improvemetns, more efficiently removing outstanding requests when ↵venaas2008-09-241-0/+46
| | | | | | removing client, also taking care of dynamic servers, need to look into server removal git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@399 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* better logging, fixed bug with crash when removing clientvenaas2008-09-171-38/+3
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@387 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* fixed couple of bugsvenaas2008-09-171-0/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@386 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* cleaning up codevenaas2008-09-171-0/+21
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@383 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* changing to use a separate client structure for each udp clientvenaas2008-09-141-0/+37
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@378 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* moved bindtoaddr back to radsecproxy.cvenaas2008-08-211-27/+0
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@355 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* restructuring codevenaas2008-08-211-0/+27
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@351 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* removed some harmless compiler warningsvenaas2008-06-101-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@289 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Solaris9 fixvenaas2008-02-211-2/+4
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@216 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Solaris9 fixesvenaas2008-02-191-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@214 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* implemented config file stack; to be used for include supportvenaas2007-11-261-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@198 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* added subjectaltname cert checks, incl regexp urivenaas2007-06-281-2/+12
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@155 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* added logging to file and syslog (need to add support for specifying facility)venaas2007-05-041-5/+7
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@72 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* using debug() some more placesvenaas2007-05-031-1/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@70 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* added tcp and udp listen directivesvenaas2007-02-161-27/+0
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@60 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* changes to build on NetBSDvenaas2007-02-091-0/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@54 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* added code for reading main config and restructured tls init codevenaas2007-01-161-0/+12
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@39 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* fixed minor bugsvenaas2007-01-041-1/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@27 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@2 ↵venaas2007-01-021-0/+125
e88ac4ed-0b26-0410-9574-a7f39faa03bf