Updated EAP-TTLSv0 references to use RFC 5281
authorJouni Malinen <j@w1.fi>
Sat, 16 Aug 2008 07:17:22 +0000 (10:17 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 16 Aug 2008 07:17:22 +0000 (10:17 +0300)
src/eap_common/eap_defs.h
src/eap_common/eap_ttls.h
src/eap_peer/eap_ttls.c
src/eap_server/eap_ttls.c

index abf7a9e..2cb2bb7 100644 (file)
@@ -53,7 +53,7 @@ typedef enum {
        EAP_TYPE_TLS = 13 /* RFC 2716 */,
        EAP_TYPE_LEAP = 17 /* Cisco proprietary */,
        EAP_TYPE_SIM = 18 /* RFC 4186 */,
-       EAP_TYPE_TTLS = 21 /* draft-ietf-pppext-eap-ttls-02.txt */,
+       EAP_TYPE_TTLS = 21 /* RFC 5281 */,
        EAP_TYPE_AKA = 23 /* RFC 4187 */,
        EAP_TYPE_PEAP = 25 /* draft-josefsson-pppext-eap-tls-eap-06.txt */,
        EAP_TYPE_MSCHAPV2 = 26 /* draft-kamath-pppext-eap-mschapv2-00.txt */,
index f69af14..797d084 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * EAP server/peer: EAP-TTLS (draft-ietf-pppext-eap-ttls-03.txt)
+ * EAP server/peer: EAP-TTLS (RFC 5281)
  * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi>
  *
  * This program is free software; you can redistribute it and/or modify
index 3dbed1b..737c3c1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * EAP peer method: EAP-TTLS (draft-ietf-pppext-eap-ttls-03.txt)
+ * EAP peer method: EAP-TTLS (RFC 5281)
  * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -27,7 +27,7 @@
 
 
 /* Maximum supported TTLS version
- * 0 = draft-ietf-pppext-eap-ttls-03.txt / draft-funk-eap-ttls-v0-00.txt
+ * 0 = RFC 5281
  * 1 = draft-funk-eap-ttls-v1-00.txt
  */
 #ifndef EAP_TTLS_VERSION
@@ -1810,10 +1810,10 @@ static struct wpabuf * eap_ttls_process(struct eap_sm *sm, void *priv,
                if (eap_ttls_process_start(sm, data, flags, ret) < 0)
                        return NULL;
 
-               /* draft-ietf-pppext-eap-ttls-03.txt, Ch. 8.1:
-                * EAP-TTLS Start packet may, in a future specification, be
-                * allowed to contain data. Client based on this draft version
-                * must ignore such data but must not reject the Start packet.
+               /* RFC 5281, Ch. 9.2:
+                * "This packet MAY contain additional information in the form
+                * of AVPs, which may provide useful hints to the client"
+                * For now, ignore any potential extra data.
                 */
                left = 0;
        } else if (!data->ssl_initialized) {
index 13c9e11..1ff9ea0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * hostapd / EAP-TTLS (draft-ietf-pppext-eap-ttls-05.txt)
+ * hostapd / EAP-TTLS (RFC 5281)
  * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -25,7 +25,7 @@
 
 
 /* Maximum supported TTLS version
- * 0 = draft-ietf-pppext-eap-ttls-03.txt / draft-funk-eap-ttls-v0-00.txt
+ * 0 = RFC 5281
  * 1 = draft-funk-eap-ttls-v1-00.txt
  */
 #ifndef EAP_TTLS_VERSION