Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/syslogd include dh.h in the right spot.
details: https://anonhg.NetBSD.org/src/rev/0212b8b68a01
branches: trunk
changeset: 359381:0212b8b68a01
user: christos <christos%NetBSD.org@localhost>
date: Thu Feb 08 17:45:29 2018 +0000
description:
include dh.h in the right spot.
diffstat:
usr.sbin/syslogd/tls.c | 7 ++-----
usr.sbin/syslogd/tls.h | 3 ++-
2 files changed, 4 insertions(+), 6 deletions(-)
diffs (45 lines):
diff -r 8e932e0be006 -r 0212b8b68a01 usr.sbin/syslogd/tls.c
--- a/usr.sbin/syslogd/tls.c Thu Feb 08 11:49:37 2018 +0000
+++ b/usr.sbin/syslogd/tls.c Thu Feb 08 17:45:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tls.c,v 1.15 2018/02/06 22:04:22 maya Exp $ */
+/* $NetBSD: tls.c,v 1.16 2018/02/08 17:45:29 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: tls.c,v 1.15 2018/02/06 22:04:22 maya Exp $");
+__RCSID("$NetBSD: tls.c,v 1.16 2018/02/08 17:45:29 christos Exp $");
#ifndef DISABLE_TLS
#include <sys/stat.h>
@@ -84,9 +84,6 @@
DH *get_dh1024(void);
/* DH parameter precomputed with "openssl dhparam -C -2 1024" */
-#ifndef HEADER_DH_H
-#include <openssl/dh.h>
-#endif
DH *
get_dh1024(void)
{
diff -r 8e932e0be006 -r 0212b8b68a01 usr.sbin/syslogd/tls.h
--- a/usr.sbin/syslogd/tls.h Thu Feb 08 11:49:37 2018 +0000
+++ b/usr.sbin/syslogd/tls.h Thu Feb 08 17:45:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tls.h,v 1.2 2008/11/07 07:36:38 minskim Exp $ */
+/* $NetBSD: tls.h,v 1.3 2018/02/08 17:45:29 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -45,6 +45,7 @@
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/pem.h>
+#include <openssl/dh.h>
/* initial size for TLS inbuf, minimum prefix + linelength
* guaranteed to be accepted */
Home |
Main Index |
Thread Index |
Old Index