aboutsummaryrefslogtreecommitdiffstats
path: root/apps/s_apps.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-11-17 14:42:22 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-11-17 14:42:22 +0000
commit5d2e07f182f3841c14400fd4fb56f94b06fc7427 (patch)
tree2ccf91f765bd130a55f59601dfce863756e5ca93 /apps/s_apps.h
parentaa714f3af4fda7e39a484f9219dab094d575d3c5 (diff)
downloadopenssl-5d2e07f182f3841c14400fd4fb56f94b06fc7427.tar.gz
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.h6
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