summaryrefslogtreecommitdiffstats
path: root/providers/common/digests/sha2.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/common/digests/sha2.c')
-rw-r--r--providers/common/digests/sha2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/common/digests/sha2.c b/providers/common/digests/sha2.c
index 2a0ae64671..c9f616db68 100644
--- a/providers/common/digests/sha2.c
+++ b/providers/common/digests/sha2.c
@@ -10,6 +10,7 @@
#include <openssl/sha.h>
#include <openssl/crypto.h>
#include <openssl/core_numbers.h>
+#include "internal/provider_algs.h"
/*
* Forward declaration of everything implemented here. This is not strictly
@@ -73,7 +74,6 @@ static size_t sha256_block_size(void)
return SHA256_CBLOCK;
}
-extern const OSSL_DISPATCH sha256_functions[];
const OSSL_DISPATCH sha256_functions[] = {
{ OSSL_FUNC_DIGEST_NEWCTX, (void (*)(void))sha256_newctx },
{ OSSL_FUNC_DIGEST_INIT, (void (*)(void))SHA256_Init },