diff options
author | tb <> | 2022-01-07 09:27:13 +0000 |
---|---|---|
committer | tb <> | 2022-01-07 09:27:13 +0000 |
commit | 5da5c83c108c6006c6a5f1191036b26958cb8ad7 (patch) | |
tree | f47c69b82f6d3fd0e6253457a267cd59abc2c529 /src/lib/libcrypto/dh/dh_key.c | |
parent | 439bac672b2f47fbf4951e7a52b9e742aa5a0859 (diff) | |
download | openbsd-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_key.c')
-rw-r--r-- | src/lib/libcrypto/dh/dh_key.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh_key.c b/src/lib/libcrypto/dh/dh_key.c index a77e7956dd..92429318db 100644 --- a/src/lib/libcrypto/dh/dh_key.c +++ b/src/lib/libcrypto/dh/dh_key.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_key.c,v 1.36 2018/11/12 17:39:17 tb Exp $ */ | 1 | /* $OpenBSD: dh_key.c,v 1.37 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 | * |
@@ -63,6 +63,7 @@ | |||
63 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
64 | 64 | ||
65 | #include "bn_lcl.h" | 65 | #include "bn_lcl.h" |
66 | #include "dh_local.h" | ||
66 | 67 | ||
67 | static int generate_key(DH *dh); | 68 | static int generate_key(DH *dh); |
68 | static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); | 69 | static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); |