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:43:28 +0000 (09:43 +0000)
commitfe5a516b72942f5eacda8c9c7f032e8c76e0cb7b
treecd5e2da7ea92c24a1fc7ab38324ed5f19d82ac23
parent053aedf1536267b621cb8d7bceaafece4df03c41
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)

(cherry picked from commit 23fed8ba0ec895e1b2a089cae380697f15170afc)
ssl/statem/extensions.c