From aeec820d8adaf7935284aefa0469d68a5dc2ac29 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Thu, 27 Jan 2022 20:30:30 +0000 Subject: Do not depend on engine.h pulling in err.h and evp.h --- lib/libcrypto/ecdsa/ecs_sign.c | 4 +++- lib/libcrypto/ecdsa/ecs_vrf.c | 12 +++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'lib/libcrypto') diff --git a/lib/libcrypto/ecdsa/ecs_sign.c b/lib/libcrypto/ecdsa/ecs_sign.c index 54c99638da6..6424a3ca60d 100644 --- a/lib/libcrypto/ecdsa/ecs_sign.c +++ b/lib/libcrypto/ecdsa/ecs_sign.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecs_sign.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */ +/* $OpenBSD: ecs_sign.c,v 1.9 2022/01/27 20:30:29 tb Exp $ */ /* ==================================================================== * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. * @@ -58,6 +58,8 @@ #ifndef OPENSSL_NO_ENGINE #include #endif +#include +#include #include "bn_lcl.h" #include "ecs_locl.h" diff --git a/lib/libcrypto/ecdsa/ecs_vrf.c b/lib/libcrypto/ecdsa/ecs_vrf.c index def130cf5cb..7db5a937f2e 100644 --- a/lib/libcrypto/ecdsa/ecs_vrf.c +++ b/lib/libcrypto/ecdsa/ecs_vrf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ecs_vrf.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */ +/* $OpenBSD: ecs_vrf.c,v 1.9 2022/01/27 20:30:29 tb Exp $ */ /* * Written by Nils Larsch for the OpenSSL project */ @@ -58,13 +58,15 @@ #include -#include "bn_lcl.h" -#include "ecs_locl.h" -#include "ec_lcl.h" - #ifndef OPENSSL_NO_ENGINE #include #endif +#include +#include + +#include "bn_lcl.h" +#include "ecs_locl.h" +#include "ec_lcl.h" /* returns * 1: correct signature -- cgit v1.2.3