From: Joseph Sutton Date: Fri, 22 Sep 2023 00:27:48 +0000 (+1200) Subject: tests/krb5: Fix code spelling X-Git-Tag: talloc-2.4.2~1068 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46f4dd3ea7ba28567128c9332eb91864f5d948eb;p=thirdparty%2Fsamba.git tests/krb5: Fix code spelling Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/krb5/compatability_tests.py b/python/samba/tests/krb5/compatability_tests.py index edf19798766..e1ebe187aeb 100755 --- a/python/samba/tests/krb5/compatability_tests.py +++ b/python/samba/tests/krb5/compatability_tests.py @@ -43,7 +43,7 @@ from samba.tests.krb5.rfc4120_constants import ( global_asn1_print = False global_hexdump = False -HIEMDAL_ENC_AS_REP_PART_TYPE_TAG = 0x79 +HEIMDAL_ENC_AS_REP_PART_TYPE_TAG = 0x79 # MIT uses the EncTGSRepPart tag for the EncASRepPart MIT_ENC_AS_REP_PART_TYPE_TAG = 0x7A @@ -65,7 +65,7 @@ class CompatabilityTests(KDCBaseTest): def test_heimdal_EncASRepPart_tag(self): creds = self.get_user_creds() (enc, _) = self.as_req(creds) - self.assertEqual(HIEMDAL_ENC_AS_REP_PART_TYPE_TAG, enc[0]) + self.assertEqual(HEIMDAL_ENC_AS_REP_PART_TYPE_TAG, enc[0]) def test_mit_EncryptedData_kvno(self): creds = self.get_user_creds() @@ -92,7 +92,7 @@ class CompatabilityTests(KDCBaseTest): def test_heimdal_and_windows_EncASRepPart_FAST_support(self): creds = self.get_user_creds() (enc, _) = self.as_req(creds) - self.assertEqual(HIEMDAL_ENC_AS_REP_PART_TYPE_TAG, enc[0]) + self.assertEqual(HEIMDAL_ENC_AS_REP_PART_TYPE_TAG, enc[0]) as_rep = self.der_decode(enc, asn1Spec=krb5_asn1.EncASRepPart()) flags = as_rep['flags'] flags = int(as_rep['flags'], base=2)