summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dsa
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-12-04 16:08:33 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-12-04 16:08:33 +0000
commitbd98abaddb55a86ccffcd8e7ccb91f70a145578d (patch)
treea08f6efdf780db8ac13b34e4cc73b7371e0d5e45 /lib/libcrypto/dsa
parentc3ac56ce4262d41ce1ba2ae0e624cd48cb3a366e (diff)
Add #include "bn_lcl.h" to the files that will soon need it.
ok inoguchi jsing
Diffstat (limited to 'lib/libcrypto/dsa')
-rw-r--r--lib/libcrypto/dsa/dsa_depr.c4
-rw-r--r--lib/libcrypto/dsa/dsa_pmeth.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/libcrypto/dsa/dsa_depr.c b/lib/libcrypto/dsa/dsa_depr.c
index 269cd634507..673e7000a0e 100644
--- a/lib/libcrypto/dsa/dsa_depr.c
+++ b/lib/libcrypto/dsa/dsa_depr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_depr.c,v 1.7 2014/10/18 17:20:40 jsing Exp $ */
+/* $OpenBSD: dsa_depr.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
@@ -68,6 +68,8 @@
#include <openssl/evp.h>
#include <openssl/sha.h>
+#include "bn_lcl.h"
+
#ifndef OPENSSL_NO_DEPRECATED
DSA *
DSA_generate_parameters(int bits, unsigned char *seed_in, int seed_len,
diff --git a/lib/libcrypto/dsa/dsa_pmeth.c b/lib/libcrypto/dsa/dsa_pmeth.c
index dd0da348b68..ef89e2be33d 100644
--- a/lib/libcrypto/dsa/dsa_pmeth.c
+++ b/lib/libcrypto/dsa/dsa_pmeth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa_pmeth.c,v 1.12 2019/09/09 18:06:25 jsing Exp $ */
+/* $OpenBSD: dsa_pmeth.c,v 1.13 2021/12/04 16:08:32 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
@@ -66,6 +66,7 @@
#include <openssl/evp.h>
#include <openssl/x509.h>
+#include "bn_lcl.h"
#include "dsa_locl.h"
#include "evp_locl.h"