OpenSSL: Fix public key length in DH group 5 operations
authorJouni Malinen <jouni.malinen@atheros.com>
Sun, 27 Jun 2010 04:03:25 +0000 (21:03 -0700)
committerJouni Malinen <j@w1.fi>
Sun, 27 Jun 2010 04:03:25 +0000 (21:03 -0700)
commitcc91e07e577bec7416ae2cba478a727c7719ba48
treeb40b08967a1d420a1f6951e5f714b35edeb79289
parent41e650ae5c90a83a0c22989d43527901347dacc0
OpenSSL: Fix public key length in DH group 5 operations

The length of the prime was used incorrectly and this resulted
in WPS DH operation failing whenever the public key ended up having
leading zeros (i.e., about every 1/256th time).
src/crypto/crypto_openssl.c