Check that the PSK extension is last
authorMatt Caswell <matt@openssl.org>
Fri, 10 Mar 2017 13:53:53 +0000 (13:53 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 10 Mar 2017 15:24:12 +0000 (15:24 +0000)
commit652a6b7ee1be26c1a5205a494b0245d41dc34e26
treed73552d420d76ac34aafe4c540ada6632e2c5466
parent0b1f26648671b94e2ae3e11d602556a4e46535ce
Check that the PSK extension is last

We need to check that the PSK extension in a ClientHello is the last one.

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