python-tpm2-pytss/0002-tests-Fix-typo-in-the-curve-name.patch
Štěpán Horáček 79e43659a5 Rebase to 2.3.0
Resolves: RHEL-45223

Signed-off-by: Štěpán Horáček <shoracek@redhat.com>
2024-08-08 16:28:25 +02:00

36 lines
1.2 KiB
Diff

From 8e4ee856ac15bb1e1c3818d2d6956f76ee3c673a Mon Sep 17 00:00:00 2001
From: Jakub Jelen <jjelen@redhat.com>
Date: Wed, 3 Jul 2024 18:26:44 +0200
Subject: [PATCH 2/2] tests: Fix typo in the curve name
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
---
test/test_policy.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/test_policy.py b/test/test_policy.py
index 5f56e21..af0c45f 100644
--- a/test/test_policy.py
+++ b/test/test_policy.py
@@ -531,7 +531,7 @@ class TestPolicy(TSS2_EsapiTest):
def test_exec_sign_callback(self):
if not self._has_secp192r1:
- self.skipTest("cryptography doesn't have secp129r1")
+ self.skipTest("cryptography doesn't have secp192r1")
private_key = textwrap.dedent(
"""
-----BEGIN PRIVATE KEY-----
@@ -605,7 +605,7 @@ class TestPolicy(TSS2_EsapiTest):
def test_exec_polauth_callback(self):
if not self._has_secp192r1:
- self.skipTest("cryptography doesn't have secp129r1")
+ self.skipTest("cryptography doesn't have secp192r1")
private_key = textwrap.dedent(
"""
-----BEGIN PRIVATE KEY-----
--
2.45.2