summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-07-10 20:16:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-07-10 20:16:49 +0000
commit27ea435d7ad0a8e112b9e02e2ee42f18dc624502 (patch)
tree8353dbc3f93577e6f750bd2d8a97079ccfcc2903 /usr.sbin/smtpd
parenta7afba102c11ffc2238e4ece5abaf2a9e695834d (diff)
add additional includes required to build with -DOPENSSL_NO_DEPRECATED
ok eric@ gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/ca.c3
-rw-r--r--usr.sbin/smtpd/ssl.c5
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/ca.c b/usr.sbin/smtpd/ca.c
index 5e8626a7f7a..ea9c83f49f4 100644
--- a/usr.sbin/smtpd/ca.c
+++ b/usr.sbin/smtpd/ca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ca.c,v 1.9 2014/07/10 15:54:55 eric Exp $ */
+/* $OpenBSD: ca.c,v 1.10 2014/07/10 20:16:48 jsg Exp $ */
/*
* Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org>
@@ -33,6 +33,7 @@
#include <openssl/evp.h>
#include <openssl/rsa.h>
#include <openssl/engine.h>
+#include <openssl/err.h>
#include "smtpd.h"
#include "log.h"
diff --git a/usr.sbin/smtpd/ssl.c b/usr.sbin/smtpd/ssl.c
index 598deb1ee3b..270787a7039 100644
--- a/usr.sbin/smtpd/ssl.c
+++ b/usr.sbin/smtpd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.68 2014/07/08 14:22:38 eric Exp $ */
+/* $OpenBSD: ssl.c,v 1.69 2014/07/10 20:16:48 jsg Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -38,6 +38,9 @@
#include <openssl/ssl.h>
#include <openssl/engine.h>
#include <openssl/err.h>
+#include <openssl/rsa.h>
+#include <openssl/dh.h>
+#include <openssl/bn.h>
#include "log.h"
#include "ssl.h"