36 void *mech_data _GL_UNUSED,
37 const char *input _GL_UNUSED,
38 size_t input_len _GL_UNUSED,
39 char **output,
size_t *output_len)
44 size_t authzidlen = 0, authidlen = 0, passwordlen = 0;
48 authzidlen = strlen (authzid);
51 authidlen = strlen (authid);
56 passwordlen = strlen (password);
60 *output_len = authzidlen + 1 + authidlen + 1 + passwordlen;
61 *output = out = malloc (*output_len);
67 memcpy (out, authzid, authzidlen);
73 memcpy (out, authid, authidlen);
78 memcpy (out, password, passwordlen);
_GSASL_API const char * gsasl_property_get(Gsasl_session *sctx, Gsasl_property prop)
int _gsasl_plain_client_step(Gsasl_session *sctx, void *mech_data _GL_UNUSED, const char *input _GL_UNUSED, size_t input_len _GL_UNUSED, char **output, size_t *output_len)