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 if 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
37 Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
38
39 Licensed under the OpenSSL license (the "License"). You may not use
40 this file except in compliance with the License. You can obtain a copy
41 in the file LICENSE in the source distribution or at
42 <https://www.openssl.org/source/license.html>.
43
44
45
461.1.1 2018-09-11 SSL_CONF_CMD_ARGV(3)