libceph: tweak calcu_signature() a little
authorIlya Dryomov <idryomov@gmail.com>
Fri, 2 Dec 2016 15:35:07 +0000 (16:35 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Dec 2016 22:09:19 +0000 (23:09 +0100)
commit4eb4517ce7c9c573b6c823de403aeccb40018cfc
tree74d5cbbc23fdaefa992297bd488654a8b41bedee
parent7882a26d2e2e520099e2961d5e2e870f8e4172dc
libceph: tweak calcu_signature() a little

- replace an ad-hoc array with a struct
- rename to calc_signature() for consistency

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
net/ceph/auth_x.c