diff options
author | Matt Caswell <matt@openssl.org> | 2017-04-20 09:56:56 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-04-25 11:13:39 +0100 |
commit | 72d0bc84de394e93f7d756a997c0d42a4ae35058 (patch) | |
tree | c91160175ec3833e4058bf27102483789221fdcc /apps/s_apps.h | |
parent | 5114d8227e0516fffc0c8653f5118290709f6494 (diff) |
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.h | 4 |
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 |