diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-11-17 14:42:22 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-11-17 14:42:22 +0000 |
commit | 5d2e07f182f3841c14400fd4fb56f94b06fc7427 (patch) | |
tree | 2ccf91f765bd130a55f59601dfce863756e5ca93 /apps/s_apps.h | |
parent | aa714f3af4fda7e39a484f9219dab094d575d3c5 (diff) |
Delegate command line handling for many common options in s_client/s_server
to the SSL_CONF APIs.
This is complicated a little because the SSL_CTX structure is not available
when the command line is processed: so just check syntax of commands initially
and store them, ready to apply later.
Diffstat (limited to 'apps/s_apps.h')
-rw-r--r-- | apps/s_apps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/s_apps.h b/apps/s_apps.h index 31b89234f1..d1ef18a4a2 100644 --- a/apps/s_apps.h +++ b/apps/s_apps.h @@ -195,3 +195,9 @@ void print_ssl_cert_checks(BIO *bio, SSL *s, const unsigned char *checkhost, const unsigned char *checkemail, const char *checkip); +#ifdef HEADER_SSL_H +int args_ssl(char ***pargs, int *pargc, SSL_CONF_CTX *cctx, + int *badarg, BIO *err, STACK_OF(OPENSSL_STRING) **pstr); +int args_ssl_call(SSL_CTX *ctx, BIO *err, SSL_CONF_CTX *cctx, + STACK_OF(OPENSSL_STRING) *str); +#endif |