summaryrefslogtreecommitdiff
path: root/src/util/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/crypto')
-rw-r--r--src/util/crypto/libcrypto/crypto_sha512crypt.c2
-rw-r--r--src/util/crypto/nss/nss_sha512crypt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto/libcrypto/crypto_sha512crypt.c b/src/util/crypto/libcrypto/crypto_sha512crypt.c
index f4c3e0da..88628b68 100644
--- a/src/util/crypto/libcrypto/crypto_sha512crypt.c
+++ b/src/util/crypto/libcrypto/crypto_sha512crypt.c
@@ -12,7 +12,6 @@
#include "config.h"
-#include <endian.h>
#include <errno.h>
#include <limits.h>
#include <stdbool.h>
@@ -24,6 +23,7 @@
#include <sys/types.h>
#include "util/util.h"
+#include "util/sss_endian.h"
#include <openssl/evp.h>
#include <openssl/rand.h>
diff --git a/src/util/crypto/nss/nss_sha512crypt.c b/src/util/crypto/nss/nss_sha512crypt.c
index 76eb8a63..2838c471 100644
--- a/src/util/crypto/nss/nss_sha512crypt.c
+++ b/src/util/crypto/nss/nss_sha512crypt.c
@@ -10,7 +10,6 @@
#include "config.h"
-#include <endian.h>
#include <errno.h>
#include <limits.h>
#include <stdbool.h>
@@ -22,6 +21,7 @@
#include <sys/types.h>
#include "util/util.h"
+#include "util/sss_endian.h"
#include "util/crypto/nss/nss_util.h"
#include <prinit.h>