summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh/dh_gen.c
diff options
context:
space:
mode:
authortb <>2022-01-07 09:27:13 +0000
committertb <>2022-01-07 09:27:13 +0000
commit5da5c83c108c6006c6a5f1191036b26958cb8ad7 (patch)
treef47c69b82f6d3fd0e6253457a267cd59abc2c529 /src/lib/libcrypto/dh/dh_gen.c
parent439bac672b2f47fbf4951e7a52b9e742aa5a0859 (diff)
downloadopenbsd-5da5c83c108c6006c6a5f1191036b26958cb8ad7.tar.gz
openbsd-5da5c83c108c6006c6a5f1191036b26958cb8ad7.tar.bz2
openbsd-5da5c83c108c6006c6a5f1191036b26958cb8ad7.zip
Add an essentially empty dh_local.h and include it in the files where
it will be needed in the upcoming bump. discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/dh/dh_gen.c')
-rw-r--r--src/lib/libcrypto/dh/dh_gen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh_gen.c b/src/lib/libcrypto/dh/dh_gen.c
index 99394113ee..6b49a2875a 100644
--- a/src/lib/libcrypto/dh/dh_gen.c
+++ b/src/lib/libcrypto/dh/dh_gen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh_gen.c,v 1.16 2017/01/29 17:49:22 beck Exp $ */ 1/* $OpenBSD: dh_gen.c,v 1.17 2022/01/07 09:27:13 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -67,6 +67,8 @@
67#include <openssl/dh.h> 67#include <openssl/dh.h>
68#include <openssl/err.h> 68#include <openssl/err.h>
69 69
70#include "dh_local.h"
71
70static int dh_builtin_genparams(DH *ret, int prime_len, int generator, 72static int dh_builtin_genparams(DH *ret, int prime_len, int generator,
71 BN_GENCB *cb); 73 BN_GENCB *cb);
72 74