mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Remove commented out old code
When making a modified function I commented out the previous code in case I needed to use some of it, and forgot to remove it. This has now been resolved Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
This commit is contained in:
		
							parent
							
								
									43592bd1f9
								
							
						
					
					
						commit
						4a703cef89
					
				@ -98,18 +98,6 @@ def translate_ossl(m_cipher):
 | 
			
		||||
    return m_cipher
 | 
			
		||||
 | 
			
		||||
def format_ciphersuite_names(mode, ciphers):
 | 
			
		||||
    #ciphers = ciphers.split()
 | 
			
		||||
    #t_ciphers = []
 | 
			
		||||
    #if mode == "g":
 | 
			
		||||
    #    for i in ciphers:
 | 
			
		||||
    #        t_ciphers.append(translate_gnutls(i))
 | 
			
		||||
    #elif mode == "o":
 | 
			
		||||
    #    for i in ciphers:
 | 
			
		||||
    #        t_ciphers.append(translate_ossl(i))
 | 
			
		||||
    #else:
 | 
			
		||||
    #    print("Incorrect use of argument 1, should be either \"g\" or \"o\"")
 | 
			
		||||
    #    exit(1)
 | 
			
		||||
    #return " ".join(t_ciphers)
 | 
			
		||||
    try:
 | 
			
		||||
        t = {"g": translate_gnutls, "o": translate_ossl}[mode]
 | 
			
		||||
        return " ".join(t(c) for c in ciphers.split())
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user