search for: apop_challeng

Displaying 2 results from an estimated 2 matches for "apop_challeng".

Did you mean: apop_challenge
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...ient-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'); + str_append(apop_data, args); + + mems...
2020 Aug 14
0
2.3.11.3 on 32bit platforms
...~~^ | | | long unsigned int | %u test-mech.c:338:12: warning: passing argument 2 of ?test_mech_construct_apop_challenge? from incompatible pointer type [-Wincompatible-pointer-types] 338 | &test_case->len); | ^~~~~~~~~~~~~~~ | | | size_t * {aka unsigned int *} test-mech.c:195:77: note: expected ?long unsigned int *? but argument is of type ?size...