xref: /freebsd/crypto/openssl/doc/man3/SSL_CTX_has_client_custom_ext.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1=pod
2
3=head1 NAME
4
5SSL_CTX_has_client_custom_ext - check whether a handler exists for a particular
6client extension type
7
8=head1 SYNOPSIS
9
10 #include <openssl/ssl.h>
11
12 int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx, unsigned int ext_type);
13
14=head1 DESCRIPTION
15
16SSL_CTX_has_client_custom_ext() checks whether a handler has been set for a
17client extension of type B<ext_type> using SSL_CTX_add_client_custom_ext().
18
19=head1 RETURN VALUES
20
21Returns 1 if a handler has been set, 0 otherwise.
22
23=head1 SEE ALSO
24
25L<ssl(7)>,
26L<SSL_CTX_add_client_custom_ext(3)>
27
28=head1 COPYRIGHT
29
30Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
31
32Licensed under the Apache License 2.0 (the "License").  You may not use
33this file except in compliance with the License.  You can obtain a copy
34in the file LICENSE in the source distribution or at
35L<https://www.openssl.org/source/license.html>.
36
37=cut
38