summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
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