summaryrefslogtreecommitdiffstats
path: root/apps/s_apps.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-04-20 10:56:56 +0200
committerMatt Caswell <matt@openssl.org>2017-04-25 12:13:39 +0200
commit72d0bc84de394e93f7d756a997c0d42a4ae35058 (patch)
treec91160175ec3833e4058bf27102483789221fdcc /apps/s_apps.h
parentAdd a BIO_lookup_ex() function (diff)
downloadopenssl-72d0bc84de394e93f7d756a997c0d42a4ae35058.tar.xz
openssl-72d0bc84de394e93f7d756a997c0d42a4ae35058.zip
Add a -sctp option to s_server
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3286)
Diffstat (limited to 'apps/s_apps.h')
-rw-r--r--apps/s_apps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_apps.h b/apps/s_apps.h
index aa0565d360..1f76009b8d 100644
--- a/apps/s_apps.h
+++ b/apps/s_apps.h
@@ -20,9 +20,9 @@
#define PORT "4433"
#define PROTOCOL "tcp"
-typedef int (*do_server_cb)(int s, int stype, unsigned char *context);
+typedef int (*do_server_cb)(int s, int stype, int prot, unsigned char *context);
int do_server(int *accept_sock, const char *host, const char *port,
- int family, int type,
+ int family, int type, int protocol,
do_server_cb cb,
unsigned char *context, int naccept);
#ifdef HEADER_X509_H