External Registrar in Vista may include NULL termination in the Network Key when encoding an ASCII passphrase for WPA/WPA2-PSK. As a workaround, remove this extra octet if present.
To make it easier to find various functions, attribute functions were split into wps_attr_{build,parse,process}.c.