[openssl-dev] rejecting elliptic_curves/supported_groups in ServerHello (new behavior in master/1.1.1 vs 1.1.0)

Mahesh Bhoothapuri maheshbhooth at gmail.com
Wed Oct 4 23:48:39 UTC 2017


Thanks for the hint.  The problem is fixed.

Server was setting:

if (SSL_CTX_set1_groups_list(ctx, "X25519:P-256") == 0) {
//
}

The call succeeds.

But the old TLS 1.2 code was setting:

            int nid = NID_X9_62_prime256v1;
            EC_KEY* ecdh = EC_KEY_new_by_curve_name(nid);
            if (ecdh == NULL)
            {
               //error
            }
            SSL_CTX_set_tmp_ecdh(ctx, ecdh);

After disabling this, the server responds with the right group - X25519.

Thanks,
Mahesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20171004/54fcb3e2/attachment.html>


More information about the openssl-dev mailing list