]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-pwd: Get rid of unnecessary allocation of temporary buffer
authorJouni Malinen <jouni@codeaurora.org>
Fri, 5 Apr 2019 09:45:16 +0000 (12:45 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 9 Apr 2019 14:11:15 +0000 (17:11 +0300)
commit89bbe6f87a04ce5faf8c68dba235d0f7e545872f
treeff99be6e029c59d24cb3eadc7450bbb9732bb77c
parent4396f74a36e16e32a51238d84bf6225b89c8b25c
EAP-pwd: Get rid of unnecessary allocation of temporary buffer

Binary presentations of element and scalar can be written directly to
the allocated commit message buffer instead of having to first write
them into temporary buffers just to copy them to the actual message
buffer.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/eap_peer/eap_pwd.c
src/eap_server/eap_server_pwd.c