summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-02-21 12:39:20 +0000
committerMichael Brown <mcb30@ipxe.org>2012-02-21 12:42:37 +0000
commita99d5d5aca298c0618919d9be33ac5e73cb838e7 (patch)
tree238c4478f11131be3d08050ec87ca3b788035de2
parenta8756182c362866e88fedca812500c24420115f8 (diff)
[rng] Add missing #include <string.h>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/crypto/drbg.c1
-rw-r--r--src/crypto/hash_df.c1
-rw-r--r--src/crypto/hmac_drbg.c1
-rw-r--r--src/tests/hash_df_test.c1
-rw-r--r--src/tests/hmac_drbg_test.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/crypto/drbg.c b/src/crypto/drbg.c
index 68aa7857..58e8fa7b 100644
--- a/src/crypto/drbg.c
+++ b/src/crypto/drbg.c
@@ -36,6 +36,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#include <stdint.h>
+#include <string.h>
#include <errno.h>
#include <assert.h>
#include <ipxe/entropy.h>
diff --git a/src/crypto/hash_df.c b/src/crypto/hash_df.c
index 4c2d28a9..9e3da181 100644
--- a/src/crypto/hash_df.c
+++ b/src/crypto/hash_df.c
@@ -36,6 +36,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#include <stdint.h>
+#include <string.h>
#include <byteswap.h>
#include <ipxe/crypto.h>
#include <ipxe/hash_df.h>
diff --git a/src/crypto/hmac_drbg.c b/src/crypto/hmac_drbg.c
index 64613d01..efbd67dc 100644
--- a/src/crypto/hmac_drbg.c
+++ b/src/crypto/hmac_drbg.c
@@ -36,6 +36,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#include <stdint.h>
+#include <string.h>
#include <errno.h>
#include <ipxe/crypto.h>
#include <ipxe/hmac.h>
diff --git a/src/tests/hash_df_test.c b/src/tests/hash_df_test.c
index 563704f4..201b4a18 100644
--- a/src/tests/hash_df_test.c
+++ b/src/tests/hash_df_test.c
@@ -33,6 +33,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#undef NDEBUG
#include <assert.h>
+#include <string.h>
#include <ipxe/hash_df.h>
#include <ipxe/test.h>
diff --git a/src/tests/hmac_drbg_test.c b/src/tests/hmac_drbg_test.c
index cf066620..ad5584f1 100644
--- a/src/tests/hmac_drbg_test.c
+++ b/src/tests/hmac_drbg_test.c
@@ -33,6 +33,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#undef NDEBUG
#include <assert.h>
+#include <string.h>
#include <ipxe/hmac_drbg.h>
#include <ipxe/test.h>