]> git.baikalelectronics.ru Git - kernel.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)
commit16a229bfa2d6e0278b0527b7147fe5ef1e1dffa3
tree1ea0575d5e221a3ae900816516c6ea2098df3480
parentd2c412fc8fe1408586031a17f36d4ea5c8c284a9
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