mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
auth:gensec: Make gensec_use_kerberos_mechs() a static function
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
5e3363e0b8
commit
2186d4131a
@ -302,9 +302,6 @@ NTSTATUS gensec_wrap(struct gensec_security *gensec_security,
|
|||||||
|
|
||||||
const struct gensec_security_ops * const *gensec_security_all(void);
|
const struct gensec_security_ops * const *gensec_security_all(void);
|
||||||
bool gensec_security_ops_enabled(const struct gensec_security_ops *ops, struct gensec_security *security);
|
bool gensec_security_ops_enabled(const struct gensec_security_ops *ops, struct gensec_security *security);
|
||||||
const struct gensec_security_ops **gensec_use_kerberos_mechs(TALLOC_CTX *mem_ctx,
|
|
||||||
const struct gensec_security_ops * const *old_gensec_list,
|
|
||||||
struct cli_credentials *creds);
|
|
||||||
|
|
||||||
NTSTATUS gensec_start_mech_by_sasl_name(struct gensec_security *gensec_security,
|
NTSTATUS gensec_start_mech_by_sasl_name(struct gensec_security *gensec_security,
|
||||||
const char *sasl_name);
|
const char *sasl_name);
|
||||||
|
@ -85,9 +85,10 @@ bool gensec_security_ops_enabled(const struct gensec_security_ops *ops, struct g
|
|||||||
* more compplex.
|
* more compplex.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
_PUBLIC_ const struct gensec_security_ops **gensec_use_kerberos_mechs(TALLOC_CTX *mem_ctx,
|
static const struct gensec_security_ops **gensec_use_kerberos_mechs(
|
||||||
const struct gensec_security_ops * const *old_gensec_list,
|
TALLOC_CTX *mem_ctx,
|
||||||
struct cli_credentials *creds)
|
const struct gensec_security_ops * const *old_gensec_list,
|
||||||
|
struct cli_credentials *creds)
|
||||||
{
|
{
|
||||||
const struct gensec_security_ops **new_gensec_list;
|
const struct gensec_security_ops **new_gensec_list;
|
||||||
int i, j, num_mechs_in;
|
int i, j, num_mechs_in;
|
||||||
|
Loading…
Reference in New Issue
Block a user