summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-07-11 10:01:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-07-11 10:01:01 +0000
commit89ca89bdf19df87b1480b0abc55f7c94502d4af4 (patch)
tree5d191fec4613d0f91ad7bb611ca0a98420935052
parentf8c30c3b1ca6ebf063292b71e17898977c9d7190 (diff)
add additional includes required to build with -DOPENSSL_NO_DEPRECATED
-rw-r--r--sbin/isakmpd/dh.c3
-rw-r--r--sbin/isakmpd/libcrypto.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sbin/isakmpd/dh.c b/sbin/isakmpd/dh.c
index 1750312f854..cd1b3881393 100644
--- a/sbin/isakmpd/dh.c
+++ b/sbin/isakmpd/dh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dh.c,v 1.15 2012/06/04 09:14:29 mikeb Exp $ */
+/* $OpenBSD: dh.c,v 1.16 2014/07/11 10:01:00 jsg Exp $ */
/* $vantronix: dh.c,v 1.13 2010/05/28 15:34:35 reyk Exp $ */
/*
@@ -21,6 +21,7 @@
#include <string.h>
#include <openssl/obj_mac.h>
+#include <openssl/bn.h>
#include <openssl/dh.h>
#include <openssl/ec.h>
#include <openssl/ecdh.h>
diff --git a/sbin/isakmpd/libcrypto.h b/sbin/isakmpd/libcrypto.h
index 03c9eb5b9c1..d44b73eedbd 100644
--- a/sbin/isakmpd/libcrypto.h
+++ b/sbin/isakmpd/libcrypto.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libcrypto.h,v 1.17 2005/04/05 20:46:20 cloder Exp $ */
+/* $OpenBSD: libcrypto.h,v 1.18 2014/07/11 10:01:00 jsg Exp $ */
/* $EOM: libcrypto.h,v 1.16 2000/09/28 12:53:27 niklas Exp $ */
/*
@@ -40,6 +40,7 @@
#include <openssl/bio.h>
#include <openssl/md5.h>
#include <openssl/pem.h>
+#include <openssl/rsa.h>
#include <openssl/x509_vfy.h>
#include <openssl/x509.h>