tiny sanity fix
This commit is contained in:
		
							parent
							
								
									027e097b9b
								
							
						
					
					
						commit
						aa5b1ac2cc
					
				| 
						 | 
				
			
			@ -318,14 +318,15 @@ int mce_qd::generate (pubkey&pub, privkey&priv, prng&rng,
 | 
			
		|||
					(hblocks[i][j], block_size * j);
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			//finish the pubkey
 | 
			
		||||
			pub.T = T;
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (attempts == block_count) //generating G failed, retry all
 | 
			
		||||
			continue;
 | 
			
		||||
 | 
			
		||||
		//finish the pubkey
 | 
			
		||||
		pub.T = T;
 | 
			
		||||
 | 
			
		||||
		return 0;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue