mirror of
				https://github.com/SSLMate/certspotter.git
				synced 2025-07-03 10:47:17 +02:00 
			
		
		
		
	Add a TODO
This commit is contained in:
		
							parent
							
								
									55d12ee013
								
							
						
					
					
						commit
						f920ef0ec3
					
				@ -24,6 +24,7 @@ func reverseHashes(hashes []ct.MerkleTreeNode) {
 | 
			
		||||
 | 
			
		||||
// TODO: drop the MerkleTreeBuilder return value
 | 
			
		||||
func VerifyConsistencyProof(proof ct.ConsistencyProof, first *ct.SignedTreeHead, second *ct.SignedTreeHead) (bool, *MerkleTreeBuilder) {
 | 
			
		||||
	// TODO: make sure every hash in proof is right length? otherwise input to hashChildren is ambiguous
 | 
			
		||||
	if second.TreeSize < first.TreeSize {
 | 
			
		||||
		// Can't be consistent if tree got smaller
 | 
			
		||||
		return false, nil
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user