Fix SSL_get_shared_ciphers()
authorMatt Caswell <matt@openssl.org>
Fri, 27 Apr 2018 10:20:52 +0000 (11:20 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 2 May 2018 22:39:23 +0000 (23:39 +0100)
commit3f5b23403cfa893f51b8def07a430a25ec607fc8
tree8a83af9233f10704dae5b5bf344205d3a7ead6ca
parent7e6c0f56e65af0727d87615342df1272cd017e9f
Fix SSL_get_shared_ciphers()

The function SSL_get_shared_ciphers() is supposed to return ciphers shared
by the client and the server. However it only ever returned the client
ciphers.

Fixes #5317

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6115)
ssl/ssl.h
ssl/ssl_lib.c