David, this was fixed in 2.2.8 (only using add_all_algorithms)
cheers
M
Davin Chan wrote:
> I started using cfengine 2.2.7 (this issue also affects 2.2.6 and 2.2.8)
> and noticed that I wasn't getting email when I should. Chasing it down,
> EVP_get_digestbyname() was failing due to OpenSSL_add_all_digests() not
> being called before EVP_get_digestbyname().
>
> It looks like OpenSSL_add_all_digests() was accidently dropped in 2.2.6
> from looking at the different releases. Here's a one-liner patch to fix
> the issue.
>
> Davin
>
> diff -ru cfengine-2.2.7/src/cfexecd.c cfengine-2.2.7-new/src/cfexecd.c
> --- cfengine-2.2.7/src/cfexecd.c 2008-05-15 03:28:54.000000000
> -0700
> +++ cfengine-2.2.7-new/src/cfexecd.c 2008-08-15 10:02:50.927924600
> -0700
> @@ -705,6 +705,8 @@
>
> Debug2("FileChecksum(%c,%s)\n",type,filename);
>
> +OpenSSL_add_all_digests();
> +
> if ((file = fopen (filename, "rb")) == NULL)
> {
> printf ("%s can't be opened\n", filename);
>
> _______________________________________________
> Bug-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/bug-cfengine
--
Mark Burgess
Web: http://www.iu.hio.no/~mark
Tlf: +47 22453272
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine