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:
@@ -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