SSL_CTX_has_client_custom_ext

Return whether a client custom extension of type ext_type is registered on ctx.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_has_client_custom_ext(
    SSL_CTX const* ctx,
    unsigned int ext_type);

Return Value

1 if a client custom extension handler is registered, or 0 otherwise.

Parameters

NameDescription
ctxSSL context to query.
ext_typeTLS extension type code.