CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2021/01/09 03:34:29

Modified files:
        lib/libssl     : ssl_lib.c 

Log message:
Align SSL_get_shared_ciphers() with OpenSSL

SSL_get_shared_ciphers() has been quite broken forever (see BUGS).
What's maybe even worse than those bugs is that it only ever returned
the string representing the client's ciphers which happen to fit into
buf. That's kind of odd, given its name.

This commit brings it in line with OpenSSL's version which changed
behavior almost three years ago.

reviewed and stupid bug caught by schwarze
ok beck inoguchi jsing

commit a216df599a6076147c27acea6c976fb11f505b1a
Author: Matt Caswell <[email protected]>
Date:   Fri Apr 27 11:20:52 2018 +0100

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 <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/6113)

Reply via email to