mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 13:17:25 +01:00 
			
		
		
		
	dpp-util: store SSID as string, not raw buffer
Nearly every use of the ssid member first has to memcpy it to a buffer and NULL terminate. Instead just store the ssid as a string when creating/parsing from JSON.
This commit is contained in:
		
							parent
							
								
									aa116ba522
								
							
						
					
					
						commit
						00ffb056e8
					
				| @ -112,7 +112,7 @@ enum dpp_attribute_type { | ||||
| }; | ||||
| 
 | ||||
| struct dpp_configuration { | ||||
| 	uint8_t ssid[32]; | ||||
| 	char ssid[33]; | ||||
| 	size_t ssid_len; | ||||
| 	uint32_t akm_suites; | ||||
| 	char *passphrase; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Prestwood
						James Prestwood