tls_valid_group: Add missing dereference of okfortls13
authorTomas Mraz <tomas@openssl.org>
Thu, 11 Feb 2021 14:25:35 +0000 (15:25 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 12 Feb 2021 18:05:17 +0000 (19:05 +0100)
Fixes #14153

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14154)

ssl/t1_lib.c

index 684e8494fc54af3f238e51c8be28e8bb951b18dd..ace890d915d8779dcc869990eae5a5b147d54243 100644 (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;