1SSL_CONF_CMD_ARGV(3ossl)            OpenSSL           SSL_CONF_CMD_ARGV(3ossl)
2
3
4

NAME

6       SSL_CONF_cmd_argv - SSL configuration command line processing
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        int SSL_CONF_cmd_argv(SSL_CONF_CTX *cctx, int *pargc, char ***pargv);
12

DESCRIPTION

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

RETURN VALUES

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

SEE ALSO

29       ssl(7), 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

HISTORY

34       These functions were added in OpenSSL 1.0.2.
35
37       Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved.
38
39       Licensed under the Apache License 2.0 (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
463.1.1                             2023-08-31          SSL_CONF_CMD_ARGV(3ossl)
Impressum