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
commit01c3a3efcb3377bc530d4bf225668754e137d085 (patch)
treef47c69b82f6d3fd0e6253457a267cd59abc2c529 /src/lib/libcrypto/dh/dh_gen.c
parent53b1ddcbe1030b90b0333d87f7533b35223ff685 (diff)
downloadopenbsd-01c3a3efcb3377bc530d4bf225668754e137d085.tar.gz
openbsd-01c3a3efcb3377bc530d4bf225668754e137d085.tar.bz2
openbsd-01c3a3efcb3377bc530d4bf225668754e137d085.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