commit | 36721ece1e84a25130c4befb930509b3f96de020 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Fri Dec 02 16:35:06 2016 +0100 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Dec 12 23:09:19 2016 +0100 |
tree | 1ea0575d5e221a3ae900816516c6ea2098df3480 | |
parent | 69973b830859bc6529a7a0468ba0d80ee5117826 [diff] |
libceph: ceph_x_encrypt_buflen() takes in_len Pass what's going to be encrypted - that's msg_b, not ticket_blob. ceph_x_encrypt_buflen() returns the upper bound, so this doesn't change the maxlen calculation, but makes it a bit clearer. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Sage Weil <sage@redhat.com>