Fixed internal TLSv1 server implementation for abbreviated handshake
authorJouni Malinen <j@w1.fi>
Sun, 24 Aug 2008 10:08:15 +0000 (13:08 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 24 Aug 2008 10:08:15 +0000 (13:08 +0300)
commit4d4233eaf4217106e7fc09d6bc95183d6ac7e7c2
tree6c643a7e048131b8414d684f0079d2f6147793ce
parent1f21bc4cc37c99af7014a4d2dd1d9e8ac5f472ac
Fixed internal TLSv1 server implementation for abbreviated handshake

When the TLS handshake had been completed earlier by the server in case of
abbreviated handshake, the output buffer length was left uninitialized. It
must be initialized to zero in this case. This code is used by EAP-FAST
server and the uninitialized length could have caused it to try to send a
very large frame (though, this would be terminated by the 50 roundtrip EAP
limit). This broke EAP-FAST server code in some cases when PAC was used to
establish the tunnel.
hostapd/ChangeLog
src/crypto/tls_internal.c