New function SSL_extension_supported().
[openssl.git] / ssl / ssl.h
index 2a0d9283c0c4397d8c21f7c1e9f61bc528545b71..f363e8f3bcedb74b92ac38421e11057acdcd55bf 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -1264,6 +1264,9 @@ int SSL_CTX_set_custom_srv_ext(SSL_CTX *ctx, unsigned int ext_type,
                               custom_ext_free_cb free_cb,
                                void *add_arg,
                               custom_ext_parse_cb parse_cb, void *parse_arg);
+
+int SSL_extension_supported(unsigned int ext_type);
+
 #endif
 
 #define SSL_NOTHING    1