Просмотр исходного кода

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 лет назад
Родитель
Сommit
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
 

Загрузка…
Отмена
Сохранить