mirror of
https://github.com/xcat2/xNBA.git
synced 2025-04-18 02:59:26 +00:00
[rng] Fix build error when assertions are enabled
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
a0082b1308
commit
b0a1ad9242
@ -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 ).
|
||||
|
Loading…
x
Reference in New Issue
Block a user