summaryrefslogtreecommitdiffstats
path: root/src/util/crypto/libcrypto/crypto_sha512crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/crypto/libcrypto/crypto_sha512crypt.c')
-rw-r--r--src/util/crypto/libcrypto/crypto_sha512crypt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/crypto/libcrypto/crypto_sha512crypt.c b/src/util/crypto/libcrypto/crypto_sha512crypt.c
index 50734318c..f4c3e0dae 100644
--- a/src/util/crypto/libcrypto/crypto_sha512crypt.c
+++ b/src/util/crypto/libcrypto/crypto_sha512crypt.c
@@ -10,6 +10,8 @@
/* SHA512-based Unix crypt implementation.
Released into the Public Domain by Ulrich Drepper <drepper@redhat.com>. */
+#include "config.h"
+
#include <endian.h>
#include <errno.h>
#include <limits.h>
@@ -141,7 +143,6 @@ static int sha512_crypt_r(const char *key,
* compatibility with existing implementations). */
EVP_DigestUpdate(&ctx, (const unsigned char *)salt, salt_len);
-
/* Compute alternate SHA512 sum with input KEY, SALT, and KEY.
* The final result will be added to the first context. */
if (!EVP_DigestInit_ex(&alt_ctx, EVP_sha512(), NULL)) {