summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-10-15 14:02:16 +0000
committerjsing <jsing@openbsd.org>2014-10-15 14:02:16 +0000
commita616f9ba447927ec530a4294d62a0eea8b9a3356 (patch)
tree77e24038f9641e0bb7b1b3f0a989059580d5ff2b /lib/libssl/ssl_lib.c
parentAdd cipher aliases for DHE (the correct name for EDH) and ECDHE (the (diff)
downloadwireguard-openbsd-a616f9ba447927ec530a4294d62a0eea8b9a3356.tar.xz
wireguard-openbsd-a616f9ba447927ec530a4294d62a0eea8b9a3356.zip
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 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions