]> git.karo-electronics.de Git - linux-beck.git/commit
libceph: ceph_x_encrypt_buflen() takes in_len
authorIlya Dryomov <idryomov@gmail.com>
Fri, 2 Dec 2016 15:35:06 +0000 (16:35 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Dec 2016 22:09:19 +0000 (23:09 +0100)
commit36721ece1e84a25130c4befb930509b3f96de020
tree1ea0575d5e221a3ae900816516c6ea2098df3480
parent69973b830859bc6529a7a0468ba0d80ee5117826
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>
net/ceph/auth_x.c