1SSL_CONF_cmd_argv(3) OpenSSL SSL_CONF_cmd_argv(3)
2
3
4
6 SSL_CONF_cmd_argv - SSL configuration command line processing.
7
9 #include <openssl/ssl.h>
10
11 int SSL_CONF_cmd_argv(SSL_CONF_CTX *cctx, int *pargc, char ***pargv);
12
14 The function SSL_CONF_cmd_argv() processes at most two command line
15 arguments from pargv and pargc. The values of pargv and pargc are
16 updated to reflect the number of command options processed. The pargc
17 argument can be set to NULL is it is not used.
18
20 SSL_CONF_cmd_argv() returns the number of command arguments processed:
21 0, 1, 2 or a negative error code.
22
23 If -2 is returned then an argument for a command is missing.
24
25 If -1 is returned the command is recognised but couldn't be processed
26 due to an error: for example a syntax error in the argument.
27
29 SSL_CONF_CTX_new(3), SSL_CONF_CTX_set_flags(3),
30 SSL_CONF_CTX_set1_prefix(3), SSL_CONF_CTX_set_ssl_ctx(3),
31 SSL_CONF_cmd(3)
32
34 These functions were first added to OpenSSL 1.0.2
35
36
37
381.0.2o 2020-08-01 SSL_CONF_cmd_argv(3)