From cda56a8ad1ecd30270cd4da553a18f533766de4c Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Fri, 9 Aug 2019 23:27:21 +0200 Subject: [PATCH] pop3-login: client - Use sasl_server_find_available_mech() instead of auth_client_find_mech(). --- src/pop3-login/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3