New function SSL_extension_supported().

Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
Dr. Stephen Henson
2014-08-19 13:33:51 +01:00
parent 33f653adf3
commit c846a5f567
2 changed files with 35 additions and 23 deletions

View File

@@ -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