search for: apop_data

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

2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...ot-1.0-test23/src/pop3-login/client-authenticate.c 2004-07-01 11:38:33.000000000 +0400 @@ -338,3 +338,49 @@ int cmd_auth(struct pop3_client *client, return TRUE; } + +int cmd_apop(struct pop3_client *client, const char *args) +{ + const char *error; + struct auth_request_info info; + string_t *apop_data; + + if (!client->apop_challenge) { + client_send_line(client, "-ERR Unknown command."); + return TRUE; + } + + /* APOP challenge \0 APOP responce */ + apop_data = t_str_new(128); + str_append(apop_data, client->apop_challenge); + str_append_c(apop_data, '\0'); + st...