mirror of
https://github.com/xcat2/xNBA.git
synced 2025-09-12 21:28:27 +00:00
[rng] Fix build error when assertions are enabled
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -128,8 +128,8 @@ int drbg_instantiate ( struct drbg_state *state, const void *personal,
|
||||
state, strerror ( rc ) );
|
||||
return rc;
|
||||
}
|
||||
assert ( len >= min_len );
|
||||
assert ( len <= sizeof ( data ) );
|
||||
assert ( len >= ( int ) min_len );
|
||||
assert ( len <= ( int ) sizeof ( data ) );
|
||||
|
||||
/* 9. initial_working_state = Instantiate_algorithm (
|
||||
* entropy_input, nonce, personalization_string ).
|
||||
|
Reference in New Issue
Block a user