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:30:46 +0000 (23:30 +0100)
commita216df599a6076147c27acea6c976fb11f505b1a
tree06f2285884aa74fddc4317d04932663ebf109801
parentc7e10755fac1d8f4421aa60646d311ab2068752d
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/6113)
include/openssl/ssl.h
ssl/ssl_lib.c