Fix the max psk len for TLSv1.3
authorMatt Caswell <matt@openssl.org>
Wed, 19 Sep 2018 09:09:39 +0000 (10:09 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 21 Sep 2018 16:50:23 +0000 (17:50 +0100)
commitf39a02c68abc8936db24499cb3cfcba206a2e7eb
treed06e8ab77e71213e6bae28053eb7df3ddde45ede
parentcd6fe29f5bad1a350a039673e06f83ec7a7ef619
Fix the max psk len for TLSv1.3

If using an old style TLSv1.2 PSK callback then the maximum possible PSK
len is PSK_MAX_PSK_LEN (256) - not 64.

Fixes #7261

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7267)
ssl/ssl_locl.h