path: root/eap_example/eap_example_server.c
Commit message (Collapse)AuthorAgeFilesLines
* eap_example: Convert Boolean to C99 boolJouni Malinen2020-04-241-3/+3
| | | | Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* EAP server: Use struct eap_config to avoid duplicated definitionsJouni Malinen2019-08-181-1/+5
| | | | | | | | | Use struct eap_config as-is within struct eap_sm and EAPOL authenticator to avoid having to duplicate all the configuration variables at each interface. Split the couple of session specific variables into a separate struct to allow a single const struct eap_config to be used. Signed-off-by: Jouni Malinen <j@w1.fi>
* hostapd: Add configuration option check_crl_strictSam Voss2018-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | Add the ability to ignore time-based CRL errors from OpenSSL by specifying a new configuration parameter, check_crl_strict=0. This causes the following: - This setting does nothing when CRL checking is not enabled. - When CRL is enabled, "strict mode" will cause CRL time errors to not be ignored and will continue behaving as it currently does. - When CRL is enabled, disabling strict mode will cause CRL time errors to be ignored and will allow connections. By default, check_crl_strict is set to 1, or strict mode, to keep current functionality. Signed-off-by: Sam Voss <sam.voss@rockwellcollins.com>
* Fix typo in eap_example_server.cSergei Sinyak2016-10-291-1/+1
| | | | | | | The server sends only requests to the peer, and the peer sends only responses to the server. Signed-off-by: Sergei Sinyak <serega.belarus@gmail.com>
* eap_example: Fix configuration by added DH parametersJouni Malinen2015-04-171-0/+1
| | | | | | | | | | The internal TLS implementation supports number of additional cipher suites that require DH parameters to be set on the server. Such a cipher suite is selected by default in the eap_example case which prevented the TLS handshake from completing successfully. Fix this by adding DH parameters to the server configuration. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* Move EAP method registration away from src/eap_{peer,server}Jouni Malinen2009-12-061-0/+108
| | | | | | This makes it easier to make a library out of EAP methods without losing possiblity of binary size optimization by linker dropping unreferenced code.
* Remove src/crypto from default include pathJouni Malinen2009-11-291-1/+1
| | | | | | In addition, start ordering header file includes to be in more consistent order: system header files, src/utils, src/*, same directory as the *.c file.
* Use PEM format RSA private key with eap_exampleJouni Malinen2009-08-161-2/+3
| | | | | | | It looks like GnuTLS does not know how to parse the previously used DER-formatted PKCS#1 private key (server.key). To work around this, use a PEM-formatted version of the same key. This format can now be used by OpenSSL, GnuTLS, and the internal TLS implementation.
* Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 releaseJouni Malinen2008-02-281-0/+192