Browse Source

todo cleanup

Jonathan Turner 9 years ago
parent
commit
2dbfd657dc
2 changed files with 0 additions and 2 deletions
  1. 0 1
      messages/Ticket.go
  2. 0 1
      pac/credentials_info.go

+ 0 - 1
messages/Ticket.go

@@ -200,7 +200,6 @@ func (t *Ticket) GetPACType(keytab keytab.Keytab, sa string) (bool, pac.PACType,
 			if err != nil {
 				continue
 			}
-			// TODO note does the entry contain and AuthorizationData or AuthorizationDataEntry. Assuming the former atm.
 			if ad2[0].ADType == adtype.AD_WIN2K_PAC {
 				isPAC = true
 				var pac pac.PACType

+ 0 - 1
pac/credentials_info.go

@@ -32,7 +32,6 @@ func (c *PAC_CredentialsInfo) Unmarshal(b []byte, k types.EncryptionKey) error {
 
 	c.Version = ndr.Read_uint32(&b, &p, e)
 	c.EType = ndr.Read_uint32(&b, &p, e)
-	// TODO review bytes provided to this method as we have to read to the end
 	c.PAC_CredentialData_Encrypted = ndr.Read_bytes(&b, &p, len(b)-p, e)
 
 	err = c.DecryptEncPart(k, e)