added TODOs
This commit is contained in:
		
							parent
							
								
									0dfa3a21ca
								
							
						
					
					
						commit
						18a4d30a4c
					
				| @ -96,6 +96,7 @@ func (n *V1Session) Sign(message []byte) ([]byte, error) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (n *V1Session) Mac(message []byte, sequenceNumber int) ([]byte, error) { | func (n *V1Session) Mac(message []byte, sequenceNumber int) ([]byte, error) { | ||||||
|  | 	// TODO: Need to keep track of the sequence number for connection oriented NTLM | ||||||
| 	sig := mac(n.negotiateFlags, n.serverHandle, n.serverSigningKey, uint32(sequenceNumber), message) | 	sig := mac(n.negotiateFlags, n.serverHandle, n.serverSigningKey, uint32(sequenceNumber), message) | ||||||
| 	return sig.Bytes(), nil | 	return sig.Bytes(), nil | ||||||
| } | } | ||||||
|  | |||||||
| @ -63,6 +63,7 @@ func (n *V2Session) Sign(message []byte) ([]byte, error) { | |||||||
| 	return nil, nil | 	return nil, nil | ||||||
| } | } | ||||||
| func (n *V2Session) Mac(message []byte,sequenceNumber int) ([]byte, error) { | func (n *V2Session) Mac(message []byte,sequenceNumber int) ([]byte, error) { | ||||||
|  | 	// TODO: Need to keep track of the sequence number for connection oriented NTLM | ||||||
| 	return nil, nil | 	return nil, nil | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user