mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 00:39:44 +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:
parent
6378371baa
commit
477b113fe6
@ -11054,6 +11054,7 @@ derive-handshake-traffic-keys() {
|
|||||||
local -i retcode
|
local -i retcode
|
||||||
local hash_fn
|
local hash_fn
|
||||||
local pub_file priv_file tmpfile
|
local pub_file priv_file tmpfile
|
||||||
|
local derived_secret server_write_key server_write_iv
|
||||||
|
|
||||||
if [[ "$cipher" == *SHA256 ]]; then
|
if [[ "$cipher" == *SHA256 ]]; then
|
||||||
hash_fn="-sha256"
|
hash_fn="-sha256"
|
||||||
|
Loading…
Reference in New Issue
Block a user