summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/x509.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-10-15 14:02:17 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-10-15 14:02:17 +0000
commiteeab2c171965f057935d00464fcde2f72320a2d3 (patch)
treedbc6ace4b166e8bca4e680ba4aaf33a60462897e /usr.bin/openssl/x509.c
parentff182147a16ae473af032c4fe740785495515994 (diff)
Only require an EC public key in tls1_set_ec_id(), if we need to provide
a compression identifier. In the case of a server using ephemeral EC keys, the supplied key is unlikely to have a public key where SSL_CTX_set_tmp_ecdh() is called after SSL_OP_SINGLE_ECDH_USE has been set. This makes ECDHE ciphers work again for this use case.
Diffstat (limited to 'usr.bin/openssl/x509.c')
0 files changed, 0 insertions, 0 deletions