File cfengine:bsc_923417.patch of Package cfengine.1260

Index: cfengine-3.7.1/libpromises/generic_agent.c
===================================================================
--- cfengine-3.7.1.orig/libpromises/generic_agent.c
+++ cfengine-3.7.1/libpromises/generic_agent.c
@@ -102,8 +102,8 @@ static void SanitizeEnvironment()
 
 ENTERPRISE_VOID_FUNC_2ARG_DEFINE_STUB(void, GenericAgentSetDefaultDigest, HashMethod *, digest, int *, digest_len)
 {
-    *digest = HASH_METHOD_MD5;
-    *digest_len = CF_MD5_LEN;
+    *digest = HASH_METHOD_SHA256;
+    *digest_len = CF_SHA256_LEN;
 }
 
 void MarkAsPolicyServer(EvalContext *ctx)
openSUSE Build Service is sponsored by