From: Markus Valentin Date: Wed, 6 May 2020 08:34:26 +0000 (+0200) Subject: auth: Remove the check for NULs in mech-rpa X-Git-Tag: 2.3.11.2~116 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1206f3c9e14a7dcc628dc8b002bccce36b2ff296;p=thirdparty%2Fdovecot%2Fcore.git auth: Remove the check for NULs in mech-rpa It was wrongly added for rpa, as it's a binary protocol. --- diff --git a/src/auth/mech-rpa.c b/src/auth/mech-rpa.c index e7c741d691..94fca52ec0 100644 --- a/src/auth/mech-rpa.c +++ b/src/auth/mech-rpa.c @@ -535,9 +535,6 @@ mech_rpa_auth_continue(struct auth_request *auth_request, struct rpa_auth_request *request = (struct rpa_auth_request *)auth_request; - if (auth_request_fail_on_nuls(auth_request, data, data_size)) - return; - switch (request->phase) { case 0: mech_rpa_auth_phase1(auth_request, data, data_size);