summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-11-02 15:58:49 +0000
committertb <>2024-11-02 15:58:49 +0000
commit1f030b484ee11824e7f0695edfa9eafd0efffcf0 (patch)
tree5b69316c213d84f022afd03c3dd013a3e2bdcaf9 /src/lib
parent04277a8a70494b7b35dc16881dea60c36382073c (diff)
downloadopenbsd-1f030b484ee11824e7f0695edfa9eafd0efffcf0.tar.gz
openbsd-1f030b484ee11824e7f0695edfa9eafd0efffcf0.tar.bz2
openbsd-1f030b484ee11824e7f0695edfa9eafd0efffcf0.zip
Fix includes in ec_lib and ecp_smpl
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ec/ec_lib.c6
-rw-r--r--src/lib/libcrypto/ec/ecp_smpl.c7
2 files changed, 11 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c
index 423c5ac7e2..a16fe05c44 100644
--- a/src/lib/libcrypto/ec/ec_lib.c
+++ b/src/lib/libcrypto/ec/ec_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_lib.c,v 1.75 2024/11/02 15:50:50 tb Exp $ */ 1/* $OpenBSD: ec_lib.c,v 1.76 2024/11/02 15:58:49 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 */
@@ -61,11 +61,15 @@
61 * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project. 61 * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project.
62 */ 62 */
63 63
64#include <stdlib.h>
64#include <string.h> 65#include <string.h>
65 66
66#include <openssl/opensslconf.h> 67#include <openssl/opensslconf.h>
67 68
69#include <openssl/bn.h>
70#include <openssl/ec.h>
68#include <openssl/err.h> 71#include <openssl/err.h>
72#include <openssl/objects.h>
69#include <openssl/opensslv.h> 73#include <openssl/opensslv.h>
70 74
71#include "bn_local.h" 75#include "bn_local.h"
diff --git a/src/lib/libcrypto/ec/ecp_smpl.c b/src/lib/libcrypto/ec/ecp_smpl.c
index 5890ca994a..7f9612b7df 100644
--- a/src/lib/libcrypto/ec/ecp_smpl.c
+++ b/src/lib/libcrypto/ec/ecp_smpl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_smpl.c,v 1.58 2024/11/02 15:50:50 tb Exp $ */ 1/* $OpenBSD: ecp_smpl.c,v 1.59 2024/11/02 15:58:49 tb Exp $ */
2/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> 2/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de>
3 * for the OpenSSL project. 3 * for the OpenSSL project.
4 * Includes code written by Bodo Moeller for the OpenSSL project. 4 * Includes code written by Bodo Moeller for the OpenSSL project.
@@ -62,7 +62,12 @@
62 * and contributed to the OpenSSL project. 62 * and contributed to the OpenSSL project.
63 */ 63 */
64 64
65#include <stdlib.h>
66
67#include <openssl/bn.h>
68#include <openssl/ec.h>
65#include <openssl/err.h> 69#include <openssl/err.h>
70#include <openssl/objects.h>
66 71
67#include "bn_local.h" 72#include "bn_local.h"
68#include "ec_local.h" 73#include "ec_local.h"