SSL_CTX_HAS_CLIENT_CUSTOM_EXT(3ssl) OpenSSL SSL_CTX_HAS_CLIENT_CUSTOM_EXT(3ssl)

SSL_CTX_has_client_custom_ext - check whether a handler exists for a particular client extension type

#include <openssl/ssl.h>
int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx, unsigned int ext_type);

SSL_CTX_has_client_custom_ext() checks whether a handler has been set for a client extension of type ext_type using SSL_CTX_add_client_custom_ext().

Returns 1 if a handler has been set, 0 otherwise.

ssl(7), SSL_CTX_add_client_custom_ext(3)

Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.

2024-10-23 3.4.0