1
0
mirror of https://github.com/dovecot/core.git synced 2026-10-23 22:08:58 +03:00

lib-sasl: dsasl-client - Drop dsasl_client_mech_get_name()

This commit is contained in:
Stephan Bosch
2026-09-04 02:01:35 +02:00
committed by timo.sirainen
parent a26ea6e71c
commit ef2937fcaa
2 changed files with 0 additions and 6 deletions

View File

@@ -98,11 +98,6 @@ dsasl_client_mech_find(struct dsasl_client *client, const char *name)
return dsasl_client_mech_find_idx(client, name, &idx);
}
const char *dsasl_client_mech_get_name(const struct dsasl_client_mech *mech)
{
return mech->name;
}
bool dsasl_client_mech_uses_password(const struct dsasl_client_mech *mech)
{
return (mech->flags & DSASL_MECH_SEC_NO_PASSWORD) == 0;

View File

@@ -49,7 +49,6 @@ void dsasl_client_unref(struct dsasl_client **_client);
/* PLAIN mechanism always exists and can be accessed directly via this. */
extern const struct dsasl_client_mech dsasl_client_mech_plain;
const char *dsasl_client_mech_get_name(const struct dsasl_client_mech *mech);
bool dsasl_client_mech_uses_password(const struct dsasl_client_mech *mech);
int dsasl_client_check_settings(struct dsasl_client *client,