Przeglądaj źródła

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 lat temu
rodzic
commit
a99d5d5aca

+ 1
- 0
src/crypto/drbg.c Wyświetl plik

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 Wyświetl plik

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 Wyświetl plik

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 Wyświetl plik

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 Wyświetl plik

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
 

Ładowanie…
Anuluj
Zapisz