diff options
author | Alexander Færøy <ahf@0x90.dk> | 2016-02-25 23:39:14 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-02-28 15:24:59 +0100 |
commit | d4c5ccf79c7fd46d1f18f91a8b3a9b98ff328e45 (patch) | |
tree | 42ae482645e7c5514fff746c1de18d30af20395e /src/test/ntor_ref.py | |
parent | c6858cb5fe3c956b9413a29717071bdd1a28b3dd (diff) | |
download | tor-d4c5ccf79c7fd46d1f18f91a8b3a9b98ff328e45.tar.gz tor-d4c5ccf79c7fd46d1f18f91a8b3a9b98ff328e45.zip |
Use the kdf_rfc5869() function instead of kdf().
This patch fixes an issue in "ntor_ref.py gen_kdf_vectors" where the
script tries to call the undefined function kdf().
Diffstat (limited to 'src/test/ntor_ref.py')
-rwxr-xr-x | src/test/ntor_ref.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ntor_ref.py b/src/test/ntor_ref.py index 767da57a9c..df065853f3 100755 --- a/src/test/ntor_ref.py +++ b/src/test/ntor_ref.py @@ -322,7 +322,7 @@ def kdf_vectors(): """ import binascii def kdf_vec(inp): - k = kdf(inp, T_KEY, M_EXPAND, 100) + k = kdf_rfc5869(inp, T_KEY, M_EXPAND, 100) print(repr(inp), "\n\""+ binascii.b2a_hex(k)+ "\"") kdf_vec("") kdf_vec("Tor") |