summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-11-24 11:13:35 +0000
committerMatt Caswell <matt@openssl.org>2016-12-08 17:17:33 +0000
commit91b60e2ab4e0ebeaf7690a2a329e88658a6ad30b (patch)
tree3d97f8a2c65ccb1b0e880796d0c3780898ae14c9 /ssl
parentede6f762030467e492fabd49ad4c3fd20deb71d4 (diff)
Add some missing extensions to SSL_extension_supported()
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>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_ext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/t1_ext.c b/ssl/t1_ext.c
index ae6e978595..182164760f 100644
--- a/ssl/t1_ext.c
+++ b/ssl/t1_ext.c
@@ -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;