diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-02 15:58:50 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-02 15:58:50 +0000 |
commit | f1c89d0aef0a7a042f80cd1b3d538fbeac6de460 (patch) | |
tree | ec37ad58ef83024cddcbe3badd126d5aad82155f | |
parent | 7b0a860d5b35b666908f9e6339a7f756ebb774e4 (diff) |
Fix includes in ec_lib and ecp_smpl
-rw-r--r-- | lib/libcrypto/ec/ec_lib.c | 6 | ||||
-rw-r--r-- | lib/libcrypto/ec/ecp_smpl.c | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/lib/libcrypto/ec/ec_lib.c b/lib/libcrypto/ec/ec_lib.c index 423c5ac7e25..a16fe05c44c 100644 --- a/lib/libcrypto/ec/ec_lib.c +++ b/lib/libcrypto/ec/ec_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_lib.c,v 1.75 2024/11/02 15:50:50 tb Exp $ */ +/* $OpenBSD: ec_lib.c,v 1.76 2024/11/02 15:58:49 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -61,11 +61,15 @@ * SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project. */ +#include <stdlib.h> #include <string.h> #include <openssl/opensslconf.h> +#include <openssl/bn.h> +#include <openssl/ec.h> #include <openssl/err.h> +#include <openssl/objects.h> #include <openssl/opensslv.h> #include "bn_local.h" diff --git a/lib/libcrypto/ec/ecp_smpl.c b/lib/libcrypto/ec/ecp_smpl.c index 5890ca994a8..7f9612b7dff 100644 --- a/lib/libcrypto/ec/ecp_smpl.c +++ b/lib/libcrypto/ec/ecp_smpl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecp_smpl.c,v 1.58 2024/11/02 15:50:50 tb Exp $ */ +/* $OpenBSD: ecp_smpl.c,v 1.59 2024/11/02 15:58:49 tb Exp $ */ /* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> * for the OpenSSL project. * Includes code written by Bodo Moeller for the OpenSSL project. @@ -62,7 +62,12 @@ * and contributed to the OpenSSL project. */ +#include <stdlib.h> + +#include <openssl/bn.h> +#include <openssl/ec.h> #include <openssl/err.h> +#include <openssl/objects.h> #include "bn_local.h" #include "ec_local.h" |