]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests/krb5: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 22 Sep 2023 00:27:48 +0000 (12:27 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Oct 2023 22:23:37 +0000 (22:23 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/compatability_tests.py

index edf19798766c4fe11cf57acf12503668106e06b4..e1ebe187aeb1bf6688376699386ace7f9682520e 100755 (executable)
@@ -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)