Fixed apparent bug where 0 was considered a valid Diffie-Hellman parameter, allowing a poisoning attack.