On Mon, Oct 01, 2018 at 04:59:03PM +0200, Martin Stanislav wrote: > Start the (EAP request) identifier at an initial random value > as recommended by RFC 3748 in section 4.1 Request and Response > on page 21. > > os_get_random is used instead of os_random as suggested by Nick Lowe. > No fallback, eapol_test hard-fails if os_get_random fails. > Thanks for your comments/suggestions. That no-fallback design looks overly complex. os_get_random() is not going to fail in practice and even if it were to fail, os_random() is sufficient for this need. I applied this with the fallback in place instead of the more complex tracking of os_get_random() failure. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap