| 
				
			 | 
			
			
				@@ -346,9 +346,10 @@ function regenerate_dh_keys { 
			 | 
		
	
		
			
			| 
				346
			 | 
			
				346
			 | 
			
			
				       trap "rm -f $data" 0 1 2 5 15 
			 | 
		
	
		
			
			| 
				347
			 | 
			
				347
			 | 
			
			
				       dialog --backtitle "Freedombone Security Configuration" \ 
			 | 
		
	
		
			
			| 
				348
			 | 
			
				348
			 | 
			
			
				              --title "Diffie-Hellman key length" \ 
			 | 
		
	
		
			
			| 
				349
			 | 
			
				
			 | 
			
			
				-             --radiolist "The smaller length is better suited to low power embedded systems:" 10 40 2 \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				349
			 | 
			
			
				+             --radiolist "The smaller length is better suited to low power embedded systems:" 12 40 3 \ 
			 | 
		
	
		
			
			| 
				350
			 | 
			
				350
			 | 
			
			
				              1 "1024 bits" off \ 
			 | 
		
	
		
			
			| 
				351
			 | 
			
				
			 | 
			
			
				-             2 "3072 bits" on 2> $data 
			 | 
		
	
		
			
			| 
				
			 | 
			
				351
			 | 
			
			
				+             2 "2048 bits" on \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				352
			 | 
			
			
				+             3 "3072 bits" off 2> $data 
			 | 
		
	
		
			
			| 
				352
			 | 
			
				353
			 | 
			
			
				       sel=$? 
			 | 
		
	
		
			
			| 
				353
			 | 
			
				354
			 | 
			
			
				       case $sel in 
			 | 
		
	
		
			
			| 
				354
			 | 
			
				355
			 | 
			
			
				           1) exit 1;; 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -356,7 +357,8 @@ function regenerate_dh_keys { 
			 | 
		
	
		
			
			| 
				356
			 | 
			
				357
			 | 
			
			
				       esac 
			 | 
		
	
		
			
			| 
				357
			 | 
			
				358
			 | 
			
			
				       case $(cat $data) in 
			 | 
		
	
		
			
			| 
				358
			 | 
			
				359
			 | 
			
			
				           1) DH_KEYLENGTH=1024;; 
			 | 
		
	
		
			
			| 
				359
			 | 
			
				
			 | 
			
			
				-          2) DH_KEYLENGTH=3072;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				360
			 | 
			
			
				+          2) DH_KEYLENGTH=2048;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				361
			 | 
			
			
				+          3) DH_KEYLENGTH=3072;; 
			 | 
		
	
		
			
			| 
				360
			 | 
			
				362
			 | 
			
			
				       esac 
			 | 
		
	
		
			
			| 
				361
			 | 
			
				363
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				362
			 | 
			
				364
			 | 
			
			
				       ctr=0 
			 |