浏览代码

[rng] Add missing #include <string.h>

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 年前
父节点
当前提交
a99d5d5aca
共有 5 个文件被更改,包括 5 次插入0 次删除
  1. 1
    0
      src/crypto/drbg.c
  2. 1
    0
      src/crypto/hash_df.c
  3. 1
    0
      src/crypto/hmac_drbg.c
  4. 1
    0
      src/tests/hash_df_test.c
  5. 1
    0
      src/tests/hmac_drbg_test.c

+ 1
- 0
src/crypto/drbg.c 查看文件

36
  */
36
  */
37
 
37
 
38
 #include <stdint.h>
38
 #include <stdint.h>
39
+#include <string.h>
39
 #include <errno.h>
40
 #include <errno.h>
40
 #include <assert.h>
41
 #include <assert.h>
41
 #include <ipxe/entropy.h>
42
 #include <ipxe/entropy.h>

+ 1
- 0
src/crypto/hash_df.c 查看文件

36
  */
36
  */
37
 
37
 
38
 #include <stdint.h>
38
 #include <stdint.h>
39
+#include <string.h>
39
 #include <byteswap.h>
40
 #include <byteswap.h>
40
 #include <ipxe/crypto.h>
41
 #include <ipxe/crypto.h>
41
 #include <ipxe/hash_df.h>
42
 #include <ipxe/hash_df.h>

+ 1
- 0
src/crypto/hmac_drbg.c 查看文件

36
  */
36
  */
37
 
37
 
38
 #include <stdint.h>
38
 #include <stdint.h>
39
+#include <string.h>
39
 #include <errno.h>
40
 #include <errno.h>
40
 #include <ipxe/crypto.h>
41
 #include <ipxe/crypto.h>
41
 #include <ipxe/hmac.h>
42
 #include <ipxe/hmac.h>

+ 1
- 0
src/tests/hash_df_test.c 查看文件

33
 #undef NDEBUG
33
 #undef NDEBUG
34
 
34
 
35
 #include <assert.h>
35
 #include <assert.h>
36
+#include <string.h>
36
 #include <ipxe/hash_df.h>
37
 #include <ipxe/hash_df.h>
37
 #include <ipxe/test.h>
38
 #include <ipxe/test.h>
38
 
39
 

+ 1
- 0
src/tests/hmac_drbg_test.c 查看文件

33
 #undef NDEBUG
33
 #undef NDEBUG
34
 
34
 
35
 #include <assert.h>
35
 #include <assert.h>
36
+#include <string.h>
36
 #include <ipxe/hmac_drbg.h>
37
 #include <ipxe/hmac_drbg.h>
37
 #include <ipxe/test.h>
38
 #include <ipxe/test.h>
38
 
39
 

正在加载...
取消
保存