[PATCH] crypto: Fix unreachable code in tls_prf_sha1_md5()

Jouni Malinen j at w1.fi
Sat Apr 6 08:50:33 PDT 2019

On Wed, Apr 03, 2019 at 03:16:14PM +0300, Andrei Otcheretianski wrote:
> While commit 1c156e783d35 ("Fixed tls_prf() to handle keys with
> odd length") added support for keys with odd length, the function
> never reached this code as the function would return earlier in
> case the key length was odd. Fix this by removing the first check
> for the key length.

Thanks, applied.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list