]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Remove the check for NULs in mech-rpa
authorMarkus Valentin <markus.valentin@open-xchange.com>
Wed, 6 May 2020 08:34:26 +0000 (10:34 +0200)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Wed, 6 May 2020 08:37:43 +0000 (10:37 +0200)
It was wrongly added for rpa, as it's a binary protocol.

src/auth/mech-rpa.c

index e7c741d691b3a24d173f056bde676945fd915291..94fca52ec0e1ff53aef311352fa6bd46679fbb6f 100644 (file)
@@ -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);