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:36:00 +0000 (23:36 +0100)
commit627e2c45535f9ec14014448843bf24010f210112
tree602fd7355e8909cfbac06876677bfdcec99d6256
parentebdeeb363f03848cea5028e63c6be294a34a8426
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/6114)
include/openssl/ssl.h
ssl/ssl_lib.c