search for: server_final_messag

Displaying 1 result from an estimated 1 matches for "server_final_messag".

Did you mean: server_final_message
2012 Oct 02
2
[PATCH] Add SCRAM-SHA-1 password scheme
...k(enum passdb_result result, const unsigned char *credentials, size_t size, struct auth_request *auth_request) { + const char *const *fields; + size_t len; + int iter; + const char *salt; struct scram_auth_request *request = (struct scram_auth_request *)auth_request; - const char *server_final_message; switch (result) { case PASSDB_RESULT_OK: - if (!verify_credentials(request, credentials, size)) { + fields = t_strsplit(t_strndup(credentials, size), ","); + + iter = atoi(fields[0]); + salt = fields[1]; + + len = strlen(fields[2]); + request->stored_key = buffer_create_d...