Skip to content

Commit

Permalink
tests: fix mis-spelled cryptographic-algorithm keyword in test
Browse files Browse the repository at this point in the history
Also update to use a newer hashing function while we are here.

fixes FRRouting#15923

Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed May 9, 2024
1 parent 5ed6db5 commit 0939f77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/topotests/key_sendaccept/test_keychain.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_send_accept(tgen):
key chain kc
key 1
key-string theSecret
crypto-algorithm md5
cryptographic-algorithm hmac-sha-256
exit
exit
"""
Expand All @@ -74,7 +74,7 @@ def test_send_accept(tgen):
key chain kc
key 1
key-string theSecret
crypto-algorithm md5
cryptographic-algorithm hmac-sha-256
send-lifetime 00:00:00 Jan 1 2024 infinite
accept-lifetime 00:00:00 Jan 1 2024 infinite
exit
Expand All @@ -101,7 +101,7 @@ def test_send_accept(tgen):
key chain kc
key 2
key-string theSecret
crypto-algorithm md5
cryptographic-algorithm hmac-sha-256
send-lifetime 00:00:00 Jan 1 2024 duration {secs_in_10_years}
accept-lifetime 00:00:00 Jan 1 2024 duration {secs_in_10_years}
exit
Expand All @@ -127,7 +127,7 @@ def test_send_accept(tgen):
key chain kc
key 3
key-string theSecret
crypto-algorithm md5
cryptographic-algorithm hmac-sha-256
send-lifetime 00:00:00 Jan 1 2024 23:59:59 Dec 31 2034
accept-lifetime 00:00:00 Jan 1 2024 23:59:59 Dec 31 2034
exit
Expand Down

0 comments on commit 0939f77

Please sign in to comment.