bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
78919bf7cb55e84e5f289f33526579f63c4797d7Timo Sirainen const char **error_r)
78919bf7cb55e84e5f289f33526579f63c4797d7Timo Sirainen *error_r = "Server didn't finish authentication";
de754cb78f75e8b3b994cddafe41c9ed1467c33dTimo Sirainenmech_login_output(struct dsasl_client *_client,
a669d351502e15802b121e1a0bd83f27d1d95f01Timo Sirainen const unsigned char **output_r, size_t *output_len_r,
78919bf7cb55e84e5f289f33526579f63c4797d7Timo Sirainen const char **error_r)
78919bf7cb55e84e5f289f33526579f63c4797d7Timo Sirainen *output_r = (const unsigned char *)_client->set.authid;
78919bf7cb55e84e5f289f33526579f63c4797d7Timo Sirainen *output_r = (const unsigned char *)_client->set.password;
78919bf7cb55e84e5f289f33526579f63c4797d7Timo Sirainen *output_len_r = strlen(_client->set.password);
de754cb78f75e8b3b994cddafe41c9ed1467c33dTimo Sirainenconst struct dsasl_client_mech dsasl_client_mech_login = {
de754cb78f75e8b3b994cddafe41c9ed1467c33dTimo Sirainen .struct_size = sizeof(struct login_dsasl_client),