mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-03 23:35:26 +01:00 
			
		
		
		
	Add missing variable declarations
derive-handshake-traffic-keys() uses the variables `derived_secret`, `server_write_key`, and `server_write_iv`, but they are not declared as local variables of the function. This PR fixes that.
This commit is contained in:
		@@ -11054,6 +11054,7 @@ derive-handshake-traffic-keys() {
 | 
			
		||||
     local -i retcode
 | 
			
		||||
     local hash_fn
 | 
			
		||||
     local pub_file priv_file tmpfile
 | 
			
		||||
     local derived_secret server_write_key server_write_iv
 | 
			
		||||
 | 
			
		||||
     if [[ "$cipher" == *SHA256 ]]; then
 | 
			
		||||
          hash_fn="-sha256"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user