summaryrefslogtreecommitdiffstats
path: root/src/util/crypto/libcrypto/crypto_sha512crypt.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-08-28 08:31:17 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 22:17:50 +0200
commitfc97ab822fb6090789b62d2cec16615e1ab78e1b (patch)
tree313f81590557f056eec4d384551c60949c5945df /src/util/crypto/libcrypto/crypto_sha512crypt.c
parent298b57aa1f9eccced5ac5113aa8def1c4053eae3 (diff)
downloadsssd-fc97ab822fb6090789b62d2cec16615e1ab78e1b.tar.gz
sssd-fc97ab822fb6090789b62d2cec16615e1ab78e1b.tar.xz
sssd-fc97ab822fb6090789b62d2cec16615e1ab78e1b.zip
UTIL: Create new wraper header file sss_endian.h
Some platform have header file endian.h and anothers have sys/endian.h. We nedd to use conditional build to handle it correctly, therefore new header file sss_endian.h was created.
Diffstat (limited to 'src/util/crypto/libcrypto/crypto_sha512crypt.c')
-rw-r--r--src/util/crypto/libcrypto/crypto_sha512crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto/libcrypto/crypto_sha512crypt.c b/src/util/crypto/libcrypto/crypto_sha512crypt.c
index f4c3e0dae..88628b686 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>