libceph: fix error handling in process_one_ticket()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 19 May 2017 12:24:36 +0000 (14:24 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 23 May 2017 18:32:28 +0000 (20:32 +0200)
commitb51456a6096ebf9f4ceb2cc7e176b471d4b70af0
tree5f955c4b414044d4cfc1fc6a553e6844049f052b
parentd18a1247c4070390fc0c2d83d89a72afe921882e
libceph: fix error handling in process_one_ticket()

Don't leak key internals after new_session_key is populated.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/auth_x.c