diff options
| author | christos <christos@NetBSD.org> | 2018-02-06 15:48:46 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2018-02-06 15:48:46 +0000 |
| commit | cef57b9a018b2c4b4bc677c909abd7640974689c (patch) | |
| tree | 42052c63b80cc40bb5097cac083bdfe50f03decf /libexec/httpd | |
| parent | 1374a6000156060be7bc84c4fc0075c9fc0a8aa5 (diff) | |
- need string.h
- cast options to long for OpenSSL-1.1
Diffstat (limited to 'libexec/httpd')
| -rw-r--r-- | libexec/httpd/ssl-bozo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/httpd/ssl-bozo.c b/libexec/httpd/ssl-bozo.c index 3cf8727049a..d765ff72384 100644 --- a/libexec/httpd/ssl-bozo.c +++ b/libexec/httpd/ssl-bozo.c @@ -1,4 +1,4 @@ -/* $NetBSD: ssl-bozo.c,v 1.22 2015/12/28 07:37:59 mrg Exp $ */ +/* $NetBSD: ssl-bozo.c,v 1.23 2018/02/06 15:48:46 christos Exp $ */ /* $eterna: ssl-bozo.c,v 1.15 2011/11/18 09:21:15 mrg Exp $ */ @@ -34,6 +34,7 @@ #include <stdarg.h> #include <stdio.h> +#include <string.h> #include <syslog.h> #include <unistd.h> @@ -62,7 +63,7 @@ #ifndef BOZO_SSL_OPTIONS #define BOZO_SSL_OPTIONS \ - (SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1) + ((long)(SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1)) #endif /* this structure encapsulates the ssl info */ |
