path: root/radius_example
Commit message (Collapse)AuthorAgeFilesLines
* build: Put archive files into build/ folder tooJohannes Berg2020-10-111-9/+3
| | | | | | | | | | | | | | | | This is something I hadn't previously done, but there are cases where it's needed, e.g., building 'wlantest' and then one of the tests/fuzzing/*/ projects, they use a different configuration (fuzzing vs. not fuzzing). Perhaps more importantly, this gets rid of the last thing that was dumped into the source directories, apart from the binaries themselves. Note that due to the use of thin archives, this required building with absolute paths. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* build: Put object files into build/ folderJohannes Berg2020-10-101-2/+3
| | | | | | | | | | | | | | | | Instead of building in the source tree, put most object files into the build/ folder at the root, and put each thing that's being built into a separate folder. This then allows us to build hostapd and wpa_supplicant (or other combinations) without "make clean" inbetween. For the tests keep the objects in place for now (and to do that, add the build rule) so that we don't have to rewrite all of that with $(call BUILDOBJS,...) which is just noise there. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* build: Add a common-clean targetJohannes Berg2020-10-101-3/+2
| | | | | | | | Clean up in a more common fashion as well, initially for ../src/. Also add $(Q) to the clean target in src/ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* build: Pull common fragments into a build.rules fileJohannes Berg2020-10-101-13/+1
| | | | | | | Some things are used by most of the binaries, pull them into a common rule fragment that we can use properly. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* RADIUS: Redesign Request Authenticator generationNick Lowe2016-02-061-1/+1
| | | | | | | Simplify and make properly random the generation of the Request Authenticator. Signed-off-by: Nick Lowe <nick.lowe@lugatech.com>
* Fix radius_example buildAmit Khatri2014-04-041-1/+2
| | | | | | radius_example needs the -lrt option to build with some glibc versions. Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
* Declare wpa_debug_* variables in src/utils/wpa_debug.hJouni Malinen2013-12-311-2/+0
| | | | | | | | | These were somewhat more hidden to avoid direct use, but there are now numerous places where these are needed and more justification to make the extern int declarations available from wpa_debug.h. In addition, this avoids some warnings from sparse. Signed-hostap: Jouni Malinen <j@w1.fi>
* Fix memory leaks on radius_client_send error pathsJouni Malinen2012-04-011-1/+2
| | | | | | | In case this function returns an error, the RADIUS message needs to freed in the caller. Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-112-14/+4
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* radius_example: Fix memory leak on deinitJouni Malinen2009-12-241-0/+1
* Comment out CONFIG_IPV6 for now in RADIUS library buildJouni Malinen2009-12-241-0/+2
| | | | | This needs to be used consistently in order to get correct size for struct hostapd_ip_addr.
* Build radius_example using src/*/lib*.aJouni Malinen2009-12-241-20/+16
* Fix RADIUS client callback function parametersJouni Malinen2009-12-241-1/+2
* Fix radius_example buildJouni Malinen2009-12-242-1/+2
* eloop: Remove global user data pointerJouni Malinen2009-12-191-1/+1
| | | | | This is not really needed since all signal handlers can use a context pointer provided during signal handler registration.
* Change radius_msg_free() to free the bufferJouni Malinen2009-12-191-3/+0
| | | | | Since all callers were freeing the buffer immediately anyway, move this operation into radius_msg_free() to reduce code size.
* Crypto build cleanup: remove INTERNAL_MD5Johannes Berg2009-07-281-2/+1
| | | | | Instead of using a define and conditional building of md5.c parts, move the internal-MD5 into a separate file.
* Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 releaseJouni Malinen2008-02-284-0/+249