mirror of
https://github.com/ceph/ceph
synced 2025-01-14 06:53:11 +00:00
Merge pull request #18505 from badone/wip-unittest-crypto-getentropy-limit
unittest_crypto: Don't exceed limit for getentropy Reviewed-by: Kefu Chai <kchai@redhat.com> Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
7e6e87e85c
@ -121,7 +121,7 @@ TEST(AES, Loop) {
|
||||
bufferptr secret(16);
|
||||
random.get_bytes(secret.c_str(), secret.length());
|
||||
|
||||
bufferptr orig_plaintext(1024);
|
||||
bufferptr orig_plaintext(256);
|
||||
random.get_bytes(orig_plaintext.c_str(), orig_plaintext.length());
|
||||
|
||||
bufferlist plaintext;
|
||||
|
Loading…
Reference in New Issue
Block a user