summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-01-27 20:30:30 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-01-27 20:30:30 +0000
commitaeec820d8adaf7935284aefa0469d68a5dc2ac29 (patch)
treed3046a07543c279199808ba792e47537d6b3b8f4 /lib/libcrypto
parent37e2def9bb989f01e27f30ec4823de6b51cb7aa0 (diff)
Do not depend on engine.h pulling in err.h and evp.h
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/ecdsa/ecs_sign.c4
-rw-r--r--lib/libcrypto/ecdsa/ecs_vrf.c12
2 files changed, 10 insertions, 6 deletions
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 <openssl/engine.h>
#endif
+#include <openssl/err.h>
+#include <openssl/evp.h>
#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 <openssl/opensslconf.h>
-#include "bn_lcl.h"
-#include "ecs_locl.h"
-#include "ec_lcl.h"
-
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif
+#include <openssl/err.h>
+#include <openssl/evp.h>
+
+#include "bn_lcl.h"
+#include "ecs_locl.h"
+#include "ec_lcl.h"
/* returns
* 1: correct signature