ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/wpa/dist/hostapd/eap_register.c
(Generate patch)

Comparing vendor/wpa/dist/hostapd/eap_register.c (file contents):
Revision 9638 by laffer1, Sun Oct 22 18:04:47 2017 UTC vs.
Revision 9639 by laffer1, Sun Oct 22 18:11:47 2017 UTC

# Line 2 | Line 2
2   * EAP method registration
3   * Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi>
4   *
5 < * This program is free software; you can redistribute it and/or modify
6 < * it under the terms of the GNU General Public License version 2 as
7 < * published by the Free Software Foundation.
8 < *
9 < * Alternatively, this software may be distributed under the terms of BSD
10 < * license.
11 < *
12 < * See README and COPYING for more details.
5 > * This software may be distributed under the terms of the BSD license.
6 > * See README for more details.
7   */
8  
9   #include "includes.h"
# Line 45 | Line 39 | int eap_server_register_methods(void)
39                  ret = eap_server_tls_register();
40   #endif /* EAP_SERVER_TLS */
41  
42 + #ifdef EAP_SERVER_UNAUTH_TLS
43 +        if (ret == 0)
44 +                ret = eap_server_unauth_tls_register();
45 + #endif /* EAP_SERVER_TLS */
46 +
47   #ifdef EAP_SERVER_MSCHAPV2
48          if (ret == 0)
49                  ret = eap_server_mschapv2_register();
# Line 129 | Line 128 | int eap_server_register_methods(void)
128          if (ret == 0)
129                  ret = eap_server_tnc_register();
130   #endif /* EAP_SERVER_TNC */
131 +
132 + #ifdef EAP_SERVER_PWD
133 +        if (ret == 0)
134 +                ret = eap_server_pwd_register();
135 + #endif /* EAP_SERVER_PWD */
136  
137          return ret;
138   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines