/[packages]/cauldron/python-tpm2-pytss/current/SOURCES/python-tpm2-pytss-1.2.0-openssl.patch
ViewVC logotype

Contents of /cauldron/python-tpm2-pytss/current/SOURCES/python-tpm2-pytss-1.2.0-openssl.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1921219 - (show annotations) (download)
Mon Dec 12 17:12:02 2022 UTC (16 months, 1 week ago) by tv
File size: 698 byte(s)
imported package python-tpm2-pytss
1 diff -up tpm2-pytss-1.2.0/test/test_crypto.py.old tpm2-pytss-1.2.0/test/test_crypto.py
2 --- tpm2-pytss-1.2.0/test/test_crypto.py.old 2022-10-17 15:26:41.205419193 +0200
3 +++ tpm2-pytss-1.2.0/test/test_crypto.py 2022-10-17 15:28:29.717379140 +0200
4 @@ -581,7 +581,7 @@ class CryptoTest(TSS2_EsapiTest):
5 def test_ecc_bad_curves(self):
6 with self.assertRaises(ValueError) as e:
7 pub = TPMT_PUBLIC.from_pem(ecc_bad_curve)
8 - self.assertEqual(str(e.exception), "unsupported curve: sect163r2")
9 + self.assertEqual(str(e.exception), "Unsupported key format")
10
11 pub = TPMT_PUBLIC.from_pem(ecc_public_key)
12 pub.parameters.eccDetail.curveID = TPM2_ECC.NONE

  ViewVC Help
Powered by ViewVC 1.1.30