sha1: Include <library.h> instead of directly including <arpa/inet.h>
On Windows we don't have <arpa/inet.h>
This commit is contained in:
1 parent
2dbb719b76
commit
8f3a3656d3
2 files changed
+3
-4
No files matched your search
@@ -18,7 +18,8 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <library.h>
|
||||
|
||||
#include "sha1_hasher.h"
|
||||
|
||||
@@ -257,4 +258,3 @@ sha1_hasher_t *sha1_hasher_create(hash_algorithm_t algo)
|
||||
|
||||
return &(this->public);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "sha1_prf.h"
|
||||
#include "sha1_hasher.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <library.h>
|
||||
|
||||
typedef struct private_sha1_prf_t private_sha1_prf_t;
|
||||
typedef struct private_sha1_hasher_t private_sha1_hasher_t;
|
||||
@@ -148,4 +148,3 @@ sha1_prf_t *sha1_prf_create(pseudo_random_function_t algo)
|
||||
|
||||
return &this->public;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user