CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/11/09 04:39:45

Modified files:
        lib/libssl     : tls_key_share.c 

Log message:
libssl: fix previous and unbreak openssl-ruby regress

tls_key_share.c r1.13 changed behavior of SSL_get_peer_tmp_key() which
can now signal success but not actually succeed if no X25519/dhe/ecdhe
is in use, which is the case in ruby's test_get_ephemeral_key, which
uses kRSA with TLSv1.2 on both sides.

Only allocate the pkey if it's actually going to be used and set. Keep
returning NULL in the other cases. This stops triggering an unexpected
assertion in said test.

ok beck

Reply via email to