Correct value of DH_CHECK_PUBKEY_INVALID
authorMatt Caswell <matt@openssl.org>
Fri, 29 Jan 2016 09:38:06 +0000 (09:38 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 29 Jan 2016 11:58:45 +0000 (11:58 +0000)
commit7107798ae6c5e19f581915928a69073d17cc21ab
tree969337f994e9ca1f724310175424dddb2d136928
parent2b0c11a620c3a3431410c5d56799286f60f60d8d
Correct value of DH_CHECK_PUBKEY_INVALID

A new return value for DH_check_pub_key was recently added:
DH_CHECK_PUBKEY_INVALID. As this is a flag which can be ORed with other
return values it should have been set to the value 4 not 3.

RT#4278

Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit cb389fe80462e20daba30835a9e86354451bd14f)
crypto/dh/dh.h