Pull fix from the head
authoraland <aland>
Wed, 1 Sep 2004 19:30:48 +0000 (19:30 +0000)
committeraland <aland>
Wed, 1 Sep 2004 19:30:48 +0000 (19:30 +0000)
src/modules/rlm_eap/types/rlm_eap_tls/eap_tls.c

index 8c8177a..94da912 100644 (file)
@@ -237,16 +237,11 @@ static eaptls_status_t eaptls_ack_handler(EAP_HANDLER *handler)
                if (tls_session->info.handshake_type == finished) {
                        DEBUG2("  rlm_eap_tls: ack handshake is finished");
                        return EAPTLS_SUCCESS;
-               } else if (tls_session->fragment > 0) {
-                       DEBUG2("  rlm_eap_tls: ack handshake fragment handler");
-                       /* Fragmentation handler, send next fragment */
-                       return EAPTLS_REQUEST;
                }
 
-               /*
-                *      We're done sending fragments.
-                */
-               return EAPTLS_SUCCESS;
+               DEBUG2("  rlm_eap_tls: ack handshake fragment handler");
+               /* Fragmentation handler, send next fragment */
+               return EAPTLS_REQUEST;
 
                /*
                 *      For the rest of the conditions, switch over