1SSL_CTX_CTRL(3ossl) OpenSSL SSL_CTX_CTRL(3ossl)
2
3
4
6 SSL_CTX_ctrl, SSL_CTX_callback_ctrl, SSL_ctrl, SSL_callback_ctrl -
7 internal handling functions for SSL_CTX and SSL objects
8
10 #include <openssl/ssl.h>
11
12 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
13 long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());
14
15 long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
16 long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
17
19 The SSL_*_ctrl() family of functions is used to manipulate settings of
20 the SSL_CTX and SSL objects. Depending on the command cmd the arguments
21 larg, parg, or fp are evaluated. These functions should never be called
22 directly. All functionalities needed are made available via other
23 functions or macros.
24
26 The return values of the SSL*_ctrl() functions depend on the command
27 supplied via the cmd parameter.
28
30 ssl(7)
31
33 Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
34
35 Licensed under the Apache License 2.0 (the "License"). You may not use
36 this file except in compliance with the License. You can obtain a copy
37 in the file LICENSE in the source distribution or at
38 <https://www.openssl.org/source/license.html>.
39
40
41
423.0.5 2022-07-05 SSL_CTX_CTRL(3ossl)