]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: fix mis-spelled `cryptographic-algorithm` keyword in test 15977/head
authorChristian Hopps <chopps@labn.net>
Thu, 9 May 2024 08:19:44 +0000 (04:19 -0400)
committerChristian Hopps <chopps@labn.net>
Thu, 9 May 2024 08:34:32 +0000 (04:34 -0400)
Also update to use a newer hashing function while we are here.

fixes #15923

Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/key_sendaccept/test_keychain.py

index 111e88aca7cbb15df4b7b630f2b6af4c6d9b4175..b11d31b981a6b4a36740d28e2fc683a90fbe25ae 100644 (file)
@@ -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
 """
@@ -74,7 +74,7 @@ exit
 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
@@ -101,7 +101,7 @@ exit
 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
@@ -127,7 +127,7 @@ exit
 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