WPS: As a workaround, pad zero-length device attributes
authorJouni Malinen <j@w1.fi>
Thu, 25 Dec 2008 19:19:46 +0000 (21:19 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 25 Dec 2008 19:19:46 +0000 (21:19 +0200)
commit34cbe7d0b067dd0558fc97eaec399cd62fe6e376
treef08a3853631f0e2408acea4826a4c12a1993bd04
parentfebc0551c547a8be459c7aae5b2213523452c3f2
WPS: As a workaround, pad zero-length device attributes

Some deployed WPS implementations fail to parse zero-length attributes.
As a workaround, send a null character if the device attribute string is
empty. This allows default values (empty strings) to be used without
interop issues.
src/wps/wps_dev_attr.c