summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec
diff options
context:
space:
mode:
authortb <>2021-12-04 16:08:32 +0000
committertb <>2021-12-04 16:08:32 +0000
commita75a07c9d53bf7f5f7c73650fec4ba578b806405 (patch)
treef715863d54b5b53f8b08263f59e57f439ae0b14b /src/lib/libcrypto/ec
parent76931b287b8254b40aa7ca868c21aaada115121e (diff)
downloadopenbsd-a75a07c9d53bf7f5f7c73650fec4ba578b806405.tar.gz
openbsd-a75a07c9d53bf7f5f7c73650fec4ba578b806405.tar.bz2
openbsd-a75a07c9d53bf7f5f7c73650fec4ba578b806405.zip
Add #include "bn_lcl.h" to the files that will soon need it.
ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/ec')
-rw-r--r--src/lib/libcrypto/ec/ec_kmeth.c3
-rw-r--r--src/lib/libcrypto/ec/ec_lcl.h4
-rw-r--r--src/lib/libcrypto/ec/ec_pmeth.c3
3 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_kmeth.c b/src/lib/libcrypto/ec/ec_kmeth.c
index 1fb9e57f32..4203dff2d0 100644
--- a/src/lib/libcrypto/ec/ec_kmeth.c
+++ b/src/lib/libcrypto/ec/ec_kmeth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_kmeth.c,v 1.5 2019/05/10 19:15:06 bcook Exp $ */ 1/* $OpenBSD: ec_kmeth.c,v 1.6 2021/12/04 16:08:32 tb Exp $ */
2/* 2/*
3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
4 * project. 4 * project.
@@ -58,6 +58,7 @@
58#endif 58#endif
59#include <openssl/err.h> 59#include <openssl/err.h>
60 60
61#include "bn_lcl.h"
61#include "ec_lcl.h" 62#include "ec_lcl.h"
62#include "ecs_locl.h" 63#include "ecs_locl.h"
63 64
diff --git a/src/lib/libcrypto/ec/ec_lcl.h b/src/lib/libcrypto/ec/ec_lcl.h
index ced04c7e31..7a7469968c 100644
--- a/src/lib/libcrypto/ec/ec_lcl.h
+++ b/src/lib/libcrypto/ec/ec_lcl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_lcl.h,v 1.18 2021/09/08 17:29:21 tb Exp $ */ 1/* $OpenBSD: ec_lcl.h,v 1.19 2021/12/04 16:08:32 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -76,6 +76,8 @@
76#include <openssl/ecdsa.h> 76#include <openssl/ecdsa.h>
77#include <openssl/bn.h> 77#include <openssl/bn.h>
78 78
79#include "bn_lcl.h"
80
79__BEGIN_HIDDEN_DECLS 81__BEGIN_HIDDEN_DECLS
80 82
81#if defined(__SUNPRO_C) 83#if defined(__SUNPRO_C)
diff --git a/src/lib/libcrypto/ec/ec_pmeth.c b/src/lib/libcrypto/ec/ec_pmeth.c
index c57d26ae29..63e6359251 100644
--- a/src/lib/libcrypto/ec/ec_pmeth.c
+++ b/src/lib/libcrypto/ec/ec_pmeth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_pmeth.c,v 1.12 2019/09/09 18:06:25 jsing Exp $ */ 1/* $OpenBSD: ec_pmeth.c,v 1.13 2021/12/04 16:08:32 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -66,6 +66,7 @@
66#include <openssl/evp.h> 66#include <openssl/evp.h>
67#include <openssl/x509.h> 67#include <openssl/x509.h>
68 68
69#include "bn_lcl.h"
69#include "ec_lcl.h" 70#include "ec_lcl.h"
70#include "ech_locl.h" 71#include "ech_locl.h"
71#include "evp_locl.h" 72#include "evp_locl.h"