Don't complain if we receive the cryptopro extension in the ClientHello
authorMatt Caswell <matt@openssl.org>
Fri, 4 Jan 2019 16:54:03 +0000 (16:54 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 7 Jan 2019 09:39:10 +0000 (09:39 +0000)
commit23fed8ba0ec895e1b2a089cae380697f15170afc
treebfdd8b2ca0329e2bd918b22cdb70aac0383b7926
parent67ee899cb51d3e3d7b5f00b878f8f82a097b93f0
Don't complain if we receive the cryptopro extension in the ClientHello

The cryptopro extension is supposed to be unsolicited and appears in the
ServerHello only. Additionally it is unofficial and unregistered - therefore
we should really treat it like any other unknown extension if we see it in
the ClientHello.

Fixes #7747

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7984)
ssl/statem/extensions.c