]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fix compile error in --disable-public-key configuration.
authorNiels Möller <nisse@lysator.liu.se>
Wed, 10 May 2023 14:59:28 +0000 (16:59 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 10 May 2023 14:59:28 +0000 (16:59 +0200)
ChangeLog
testsuite/sha1-test.c
testsuite/sha256-test.c

index 8189a272f203f121f7d332f8d75b630a8fba09ab..cbaceb0259f9526a96339a9149e28f011c2a64ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-05-10  Niels Möller  <nisse@lysator.liu.se>
+
+       Fix compile error in --disable-public-key configuration.
+       * testsuite/sha1-test.c: Add missing include of sha1.h.
+       * testsuite/sha256-test.c: Add missing include of sha2.h.
+
 2023-05-07  Niels Möller  <nisse@lysator.liu.se>
 
        * configure.ac: Bump package version, to 3.9.
index 549363f8988016d590e6efa36bfaec5b889fef42..922d3437dde6e0ca1c4e664ba2ce93e8551fc175 100644 (file)
@@ -1,6 +1,7 @@
 #include "testutils.h"
 
 #include "nettle-write.h"
+#include "sha1.h"
 
 /* Test compression only. */
 static void
index a85d5ba78febf084dff92b59b38332e8f7c8e035..dc775003504cde118adb886adfcbaa5e489f60a1 100644 (file)
@@ -1,6 +1,7 @@
 #include "testutils.h"
 
 #include "nettle-write.h"
+#include "sha2.h"
 
 /* Test compression only. */
 static void