Module Name: src
Committed By: christos
Date: Tue Feb 6 15:48:46 UTC 2018
Modified Files:
src/libexec/httpd: ssl-bozo.c
Log Message:
- need string.h
- cast options to long for OpenSSL-1.1
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/libexec/httpd/ssl-bozo.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/httpd/ssl-bozo.c
diff -u src/libexec/httpd/ssl-bozo.c:1.22 src/libexec/httpd/ssl-bozo.c:1.23
--- src/libexec/httpd/ssl-bozo.c:1.22 Mon Dec 28 02:37:59 2015
+++ src/libexec/httpd/ssl-bozo.c Tue Feb 6 10:48:46 2018
@@ -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 */