Add some missing extensions to SSL_extension_supported()
authorMatt Caswell <matt@openssl.org>
Thu, 24 Nov 2016 11:13:35 +0000 (11:13 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Dec 2016 17:17:33 +0000 (17:17 +0000)
Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
Salz

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/t1_ext.c

index ae6e978595bd44aafb1f52f7bcf87a76de703877..182164760fe674492970abb961693ae409b1e029 100644 (file)
@@ -258,6 +258,9 @@ int SSL_extension_supported(unsigned int ext_type)
 #ifdef TLSEXT_TYPE_encrypt_then_mac
     case TLSEXT_TYPE_encrypt_then_mac:
 #endif
+    case TLSEXT_TYPE_key_share:
+    case TLSEXT_TYPE_supported_versions:
+    case TLSEXT_TYPE_extended_master_secret:
         return 1;
     default:
         return 0;