]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
unittest_crypto: Don't exceed limit for getentropy 18505/head
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 24 Oct 2017 04:34:26 +0000 (14:34 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 24 Oct 2017 04:34:26 +0000 (14:34 +1000)
commit2e3af697a8d2c8fad174bb0ea9e67b15e8bb618a
tree7b0834f474c39fac39eefb99d9763bdafc268420
parenta9baa8b33ae3799ff8340ec71a3678f7c92c33cd
unittest_crypto: Don't exceed limit for getentropy

CryptoRandom::get_bytes calls getentropy directly if available and it
enforces a limit of 256 bytes.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/test/crypto.cc