From: Stephan Bosch Date: Fri, 9 Aug 2019 21:27:21 +0000 (+0200) Subject: pop3-login: client - Use sasl_server_find_available_mech() instead of auth_client_fin... X-Git-Tag: 2.3.9~320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cda56a8ad1ecd30270cd4da553a18f533766de4c;p=thirdparty%2Fdovecot%2Fcore.git pop3-login: client - Use sasl_server_find_available_mech() instead of auth_client_find_mech(). --- diff --git a/src/pop3-login/client.c b/src/pop3-login/client.c index b1e4022c37..ab8d33d774 100644 --- a/src/pop3-login/client.c +++ b/src/pop3-login/client.c @@ -192,7 +192,7 @@ static char *get_apop_challenge(struct pop3_client *client) unsigned char buffer_base64[MAX_BASE64_ENCODED_SIZE(sizeof(buffer)) + 1]; buffer_t buf; - if (auth_client_find_mech(auth_client, "APOP") == NULL) { + if (sasl_server_find_available_mech(&client->common, "APOP") == NULL) { /* disabled, no need to present the challenge */ return NULL; }