diff options
author | Richard Levitte <levitte@openssl.org> | 2017-04-25 15:35:41 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-04-25 15:44:48 +0200 |
commit | d88ab353d3f94031d56d2d6451695eac305c9738 (patch) | |
tree | 5b44fa01b0acf182c47f241a3000b73ce3f4ce39 /apps | |
parent | a5eef31e257bc6267e0973edda18ee2f180ed081 (diff) |
Correct some badly formated preprocessor lines
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3304)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_server.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index ebf772da07..d842fb8f53 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -2125,11 +2125,11 @@ static int sv_body(int s, int stype, int prot, unsigned char *context) struct timeval *timeoutp; #endif #ifndef OPENSSL_NO_DTLS - #ifndef OPENSSL_NO_SCTP +# ifndef OPENSSL_NO_SCTP int isdtls = (stype == SOCK_DGRAM || prot == IPPROTO_SCTP); - #else +# else int isdtls = (stype == SOCK_DGRAM); - #endif +# endif #endif buf = app_malloc(bufsize, "server buffer"); @@ -2163,11 +2163,11 @@ static int sv_body(int s, int stype, int prot, unsigned char *context) } #ifndef OPENSSL_NO_DTLS if (isdtls) { -#ifndef OPENSSL_NO_SCTP +# ifndef OPENSSL_NO_SCTP if (prot == IPPROTO_SCTP) sbio = BIO_new_dgram_sctp(s, BIO_NOCLOSE); else -#endif +# endif sbio = BIO_new_dgram(s, BIO_NOCLOSE); if (enable_timeouts) { |