*Correctly* Re-assemble large amounts of data inside of the TLS
[freeradius.git] / src / modules / rlm_eap / types / rlm_eap_peap / rlm_eap_peap.c
index 317a382..0b9236e 100644 (file)
@@ -180,6 +180,7 @@ static int eappeap_authenticate(void *arg, EAP_HANDLER *handler)
        DEBUG2("  rlm_eap_peap: Authenticate");
 
        status = eaptls_process(handler);
+       tls_session->clean_out.used = 0;
        DEBUG2("  eaptls_process returned %d\n", status);
        switch (status) {
                /*