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:
Brad Hubbard 2017-10-25 10:27:38 +10:00 committed by GitHub
commit 7e6e87e85c

View File

@ -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;