Updated EAP-TTLSv0 references to use RFC 5281
This commit is contained in:
		
							parent
							
								
									1c8735848d
								
							
						
					
					
						commit
						a9141cffb0
					
				
					 4 changed files with 10 additions and 10 deletions
				
			
		|  | @ -53,7 +53,7 @@ typedef enum { | ||||||
| 	EAP_TYPE_TLS = 13 /* RFC 2716 */, | 	EAP_TYPE_TLS = 13 /* RFC 2716 */, | ||||||
| 	EAP_TYPE_LEAP = 17 /* Cisco proprietary */, | 	EAP_TYPE_LEAP = 17 /* Cisco proprietary */, | ||||||
| 	EAP_TYPE_SIM = 18 /* RFC 4186 */, | 	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_AKA = 23 /* RFC 4187 */, | ||||||
| 	EAP_TYPE_PEAP = 25 /* draft-josefsson-pppext-eap-tls-eap-06.txt */, | 	EAP_TYPE_PEAP = 25 /* draft-josefsson-pppext-eap-tls-eap-06.txt */, | ||||||
| 	EAP_TYPE_MSCHAPV2 = 26 /* draft-kamath-pppext-eap-mschapv2-00.txt */, | 	EAP_TYPE_MSCHAPV2 = 26 /* draft-kamath-pppext-eap-mschapv2-00.txt */, | ||||||
|  |  | ||||||
|  | @ -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> |  * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> | ||||||
|  * |  * | ||||||
|  * This program is free software; you can redistribute it and/or modify |  * This program is free software; you can redistribute it and/or modify | ||||||
|  |  | ||||||
|  | @ -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> |  * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi> | ||||||
|  * |  * | ||||||
|  * This program is free software; you can redistribute it and/or modify |  * This program is free software; you can redistribute it and/or modify | ||||||
|  | @ -27,7 +27,7 @@ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /* Maximum supported TTLS version
 | /* 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 |  * 1 = draft-funk-eap-ttls-v1-00.txt | ||||||
|  */ |  */ | ||||||
| #ifndef EAP_TTLS_VERSION | #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) | 		if (eap_ttls_process_start(sm, data, flags, ret) < 0) | ||||||
| 			return NULL; | 			return NULL; | ||||||
| 
 | 
 | ||||||
| 		/* draft-ietf-pppext-eap-ttls-03.txt, Ch. 8.1:
 | 		/* RFC 5281, Ch. 9.2:
 | ||||||
| 		 * EAP-TTLS Start packet may, in a future specification, be | 		 * "This packet MAY contain additional information in the form | ||||||
| 		 * allowed to contain data. Client based on this draft version | 		 * of AVPs, which may provide useful hints to the client" | ||||||
| 		 * must ignore such data but must not reject the Start packet. | 		 * For now, ignore any potential extra data. | ||||||
| 		 */ | 		 */ | ||||||
| 		left = 0; | 		left = 0; | ||||||
| 	} else if (!data->ssl_initialized) { | 	} else if (!data->ssl_initialized) { | ||||||
|  |  | ||||||
|  | @ -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> |  * Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi> | ||||||
|  * |  * | ||||||
|  * This program is free software; you can redistribute it and/or modify |  * This program is free software; you can redistribute it and/or modify | ||||||
|  | @ -25,7 +25,7 @@ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /* Maximum supported TTLS version
 | /* 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 |  * 1 = draft-funk-eap-ttls-v1-00.txt | ||||||
|  */ |  */ | ||||||
| #ifndef EAP_TTLS_VERSION | #ifndef EAP_TTLS_VERSION | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jouni Malinen
						Jouni Malinen