]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
auth/Crypto: assert(len <= 256) before calling getentropy() 31301/head
authorKefu Chai <kchai@redhat.com>
Tue, 24 Sep 2019 11:02:38 +0000 (19:02 +0800)
committerNathan Cutler <ncutler@suse.com>
Thu, 31 Oct 2019 18:13:00 +0000 (19:13 +0100)
commitb1d44987109e792521be0dce7f0af12445814d45
tree75021be6c7c065ad0a667f8134b360730f82bc32
parent958e43a1abba257755129247dc4f82915accf9b1
auth/Crypto: assert(len <= 256) before calling getentropy()

this assert() will be optimized out in Release mode.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit ccae47ea08a51f6a1d6c237cde75732dbb7b74df)
src/auth/Crypto.cc