EAP-FAST peer: Clean up PAC writing function
authorJouni Malinen <j@w1.fi>
Sun, 10 Jan 2010 20:04:59 +0000 (22:04 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 10 Jan 2010 20:04:59 +0000 (22:04 +0200)
commit4edc5210684e40f785d37d42f3865de3eb5d6df6
treea9558cf602895884d89387906739ee3306c8441f
parenta416fb47eb61f879b8275691dbbc56b2430faa1a
EAP-FAST peer: Clean up PAC writing function

Use more explicit validation of input parameters and clean up the
writes by using a local end-of-buffer variable to simplify
calculations.
src/eap_peer/eap_fast_pac.c