From 1206f3c9e14a7dcc628dc8b002bccce36b2ff296 Mon Sep 17 00:00:00 2001 From: Markus Valentin Date: Wed, 6 May 2020 10:34:26 +0200 Subject: [PATCH] auth: Remove the check for NULs in mech-rpa It was wrongly added for rpa, as it's a binary protocol. --- src/auth/mech-rpa.c | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.47.3