return mech_scram_auth_new(&hash_method_sha256, "SCRAM-SHA-256");
}
+static void mech_scram_auth_free(struct auth_request *auth_request)
+{
+ pool_unref(&auth_request->pool);
+}
+
const struct mech_module mech_scram_sha1 = {
"SCRAM-SHA-1",
mech_scram_sha1_auth_new,
mech_generic_auth_initial,
mech_scram_auth_continue,
- mech_generic_auth_free
+ mech_scram_auth_free,
};
const struct mech_module mech_scram_sha256 = {
mech_scram_sha256_auth_new,
mech_generic_auth_initial,
mech_scram_auth_continue,
- mech_generic_auth_free
+ mech_scram_auth_free,
};