summaryrefslogtreecommitdiff
path: root/lib/libssl/man/SSL_CTX_ctrl.3
blob: 47cf60949116da366c17c1599460c224b54e20e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.\"
.\"	$OpenBSD: SSL_CTX_ctrl.3,v 1.1 2016/11/05 15:32:19 schwarze Exp $
.\"
.Dd $Mdocdate: November 5 2016 $
.Dt SSL_CTX_CTRL 3
.Os
.Sh NAME
.Nm SSL_CTX_ctrl ,
.Nm SSL_CTX_callback_ctrl ,
.Nm SSL_ctrl ,
.Nm SSL_callback_ctrl
.Nd internal handling functions for SSL_CTX and SSL objects
.Sh SYNOPSIS
.In openssl/ssl.h
.Ft long
.Fn SSL_CTX_ctrl "SSL_CTX *ctx" "int cmd" "long larg" "void *parg"
.Ft long
.Fn SSL_CTX_callback_ctrl "SSL_CTX *" "int cmd" "void (*fp)()"
.Ft long
.Fn SSL_ctrl "SSL *ssl" "int cmd" "long larg" "void *parg"
.Ft long
.Fn SSL_callback_ctrl "SSL *" "int cmd" "void (*fp)()"
.Sh DESCRIPTION
The
.Fn SSL_*_ctrl
family of functions is used to manipulate settings of
the
.Vt SSL_CTX
and
.Vt SSL
objects.
Depending on the command
.Fa cmd
the arguments
.Fa larg ,
.Fa parg ,
or
.Fa fp
are evaluated.
These functions should never be called directly.
All functionalities needed are made available via other functions or macros.
.Sh RETURN VALUES
The return values of the
.Fn SSL*_ctrl
functions depend on the command supplied via the
.Fn cmd
parameter.
.Sh SEE ALSO
.Xr ssl 3