Only send custom extensions where we have received one in the ClientHello
authorMatt Caswell <matt@openssl.org>
Mon, 10 Apr 2017 15:18:26 +0000 (16:18 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 3 May 2017 13:37:42 +0000 (14:37 +0100)
commit7f533d6fa1e1497e3c43630952528521b2627f53
tree236d261b9cf8f0ca2746cd688c87391673a2c778
parent84c34ba8762463057d372e22ad98a045dbd9a51f
Only send custom extensions where we have received one in the ClientHello

We already did this for ServerHello and EncryptedExtensions. We should be
doing it for Certificate and HelloRetryRequest as well.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3298)
ssl/statem/extensions_cust.c