auth_none.c (cdd38c5f1ce4398ec58fec95904b75824daab7b5) | auth_none.c (3c0d0894320cc517fda657c69939cd0313d0b4e2) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2 3#include <linux/ceph/ceph_debug.h> 4 5#include <linux/err.h> 6#include <linux/module.h> 7#include <linux/random.h> 8#include <linux/slab.h> --- 55 unchanged lines hidden (view full) --- 64{ 65 return 0; 66} 67 68/* 69 * the generic auth code decode the global_id, and we carry no actual 70 * authenticate state, so nothing happens here. 71 */ | 1// SPDX-License-Identifier: GPL-2.0 2 3#include <linux/ceph/ceph_debug.h> 4 5#include <linux/err.h> 6#include <linux/module.h> 7#include <linux/random.h> 8#include <linux/slab.h> --- 55 unchanged lines hidden (view full) --- 64{ 65 return 0; 66} 67 68/* 69 * the generic auth code decode the global_id, and we carry no actual 70 * authenticate state, so nothing happens here. 71 */ |
72static int handle_reply(struct ceph_auth_client *ac, int result, | 72static int handle_reply(struct ceph_auth_client *ac, |
73 void *buf, void *end, u8 *session_key, 74 int *session_key_len, u8 *con_secret, 75 int *con_secret_len) 76{ 77 struct ceph_auth_none_info *xi = ac->private; 78 79 xi->starting = false; | 73 void *buf, void *end, u8 *session_key, 74 int *session_key_len, u8 *con_secret, 75 int *con_secret_len) 76{ 77 struct ceph_auth_none_info *xi = ac->private; 78 79 xi->starting = false; |
80 return result; | 80 return 0; |
81} 82 83static void ceph_auth_none_destroy_authorizer(struct ceph_authorizer *a) 84{ 85 kfree(a); 86} 87 88/* --- 57 unchanged lines hidden --- | 81} 82 83static void ceph_auth_none_destroy_authorizer(struct ceph_authorizer *a) 84{ 85 kfree(a); 86} 87 88/* --- 57 unchanged lines hidden --- |