tls_valid_group: Add missing dereference of okfortls13

Fixes #14153

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14154)
This commit is contained in:
Tomas Mraz 2021-02-11 15:25:35 +01:00
parent d8c1cafbbc
commit 89e14ca7c7

View File

@ -526,7 +526,7 @@ int tls_valid_group(SSL *s, uint16_t group_id, int minversion, int maxversion,
int ret;
if (okfortls13 != NULL)
okfortls13 = 0;
*okfortls13 = 0;
if (ginfo == NULL)
return 0;