summaryrefslogtreecommitdiff
path: root/dh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-09-13 12:13:50 +1000
committerDamien Miller <djm@mindrot.org>2018-09-13 12:13:50 +1000
commit48f54b9d12c1c79fba333bc86d455d8f4cda8cfc (patch)
tree216db3d44f6d07262ce4757e65705fcc9fb6b5fa /dh.c
parent86112951d63d48839f035b5795be62635a463f99 (diff)
adapt -portable to OpenSSL 1.1x API
Polyfill missing API with replacement functions extracted from LibreSSL
Diffstat (limited to 'dh.c')
-rw-r--r--dh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dh.c b/dh.c
index d0d4527b1..f3ed38829 100644
--- a/dh.c
+++ b/dh.c
@@ -43,6 +43,8 @@
43#include "misc.h" 43#include "misc.h"
44#include "ssherr.h" 44#include "ssherr.h"
45 45
46#include "openbsd-compat/openssl-compat.h"
47
46static int 48static int
47parse_prime(int linenum, char *line, struct dhgroup *dhg) 49parse_prime(int linenum, char *line, struct dhgroup *dhg)
48{ 50{