Changeset: d9aed3b92de5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d9aed3b92de5
Modified Files:
        common/utils/mcrypt.c
Branch: Jul2021
Log Message:

We always have SHA512, so we need the code to produce the hex string.


diffs (19 lines):

diff --git a/common/utils/mcrypt.c b/common/utils/mcrypt.c
--- a/common/utils/mcrypt.c
+++ b/common/utils/mcrypt.c
@@ -514,7 +514,6 @@ mcrypt_hashPassword(
                return NULL;
        }
 
-#if (defined(HAVE_OPENSSL) || defined(HAVE_COMMONCRYPTO))
        snprintf(ret, sizeof(ret),
                        "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x"
                        "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x"
@@ -542,7 +541,6 @@ mcrypt_hashPassword(
        ret[len] = '\0';
 
        return strdup(ret);
-#endif
 }
 
 #ifndef HAVE_SHA512_UPDATE
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to