Fix SSL_OP_SINGLE_ECDH_USE
authorPiotr Sikora <piotr@cloudflare.com>
Fri, 1 Nov 2013 21:35:46 +0000 (21:35 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 1 Nov 2013 21:41:52 +0000 (21:41 +0000)
commit29b490a45886b409fd402c233acda9659e3f2094
tree55080fe5e8d61cf34600d9d8ad5e664724ea42f1
parenta9bc1af984292f377535216570703974a6245ee4
Fix SSL_OP_SINGLE_ECDH_USE

Don't require a public key in tls1_set_ec_id if compression status is
not needed. This fixes a bug where SSL_OP_SINGLE_ECDH_USE wouldn't work.
(cherry picked from commit 5ff68e8f6dac3b0d8997b8bc379f9111c2bab74f)
ssl/t1_lib.c