summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-10-22 20:05:18 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-10-22 20:07:09 +1100
commit55d7cdda4dc4e8284ccd276f73440be400250a1e (patch)
tree15fe0acdc81cb7404ceddc8174644c94d6f91d77
parent631165f6c43d230df9174423aeb19fcf09a67ef4 (diff)
Include openssl compatibility.
Patch from rosenp at gmail.com via openssh-unix-dev.
-rw-r--r--ssh-keysign.c1
-rw-r--r--ssh_api.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c
index 744ecb4f..bcd1508c 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -40,6 +40,7 @@
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <openssl/rsa.h>
+#include "openbsd-compat/openssl-compat.h"
#endif
#include "xmalloc.h"
diff --git a/ssh_api.c b/ssh_api.c
index c84b4e71..e727c0d6 100644
--- a/ssh_api.c
+++ b/ssh_api.c
@@ -29,6 +29,8 @@
#include "ssherr.h"
#include "sshbuf.h"
+#include "openbsd-compat/openssl-compat.h"
+
#include <string.h>
int _ssh_exchange_banner(struct ssh *);