Fix set0 reuse test
authorViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 27 Apr 2016 19:08:33 +0000 (15:08 -0400)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 27 Apr 2016 20:16:34 +0000 (16:16 -0400)
commit4a397f5168d41ef4417f1430f2f5133b92f145b8
treef3dfe1449e7c53740cc480c00849391774248d62
parent69664d6af0cdd7738f55d10fbbe46cdf15f72e0e
Fix set0 reuse test

We must test for new object == current object, not !=.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/dh/dh_lib.c
crypto/dsa/dsa_lib.c