On Thu, 19 Dec 2024, Hal Murray wrote:

Fix pushed.  Please give it a try.

Not there yet.  Sample from Fedora 25:

=========================================================================
[219/265] Compiling libntp/pymodule-mac.c
In file included from ../../libntp/pymodule-mac.c:16:0:
../../include/hack-ancient-openssl.h:24:52: error: expected declaration specifiers or ‘...’ before ‘(’ token
   #define EVP_MD_CTX_init(ctx)    EVP_MD_CTX_reset((ctx))
                                                    ^
In file included from ../../libntp/pymodule-mac.c:21:0:
/usr/include/openssl/evp.h:591:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
 EVP_MD_CTX *EVP_MD_CTX_create(void);
                                   ^
In file included from ../../libntp/pymodule-mac.c:16:0:
../../include/hack-ancient-openssl.h:25:51: error: expected declaration specifiers or ‘...’ before ‘(’ token
   #define EVP_MD_CTX_destroy(ctx) EVP_MD_CTX_free((ctx))
                                                   ^
../../libntp/pymodule-mac.c: In function ‘do_mac’:
../../libntp/pymodule-mac.c:105:17: warning: implicit declaration of function ‘EVP_MD_CTX_new’ [-Wimplicit-function-declaration]
    digest_ctx = EVP_MD_CTX_new();
                 ^~~~~~~~~~~~~~
../../libntp/pymodule-mac.c:105:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    digest_ctx = EVP_MD_CTX_new();
               ^

Waf: Leaving directory `/home/fw/xbuild/ntpsec/build/main'
=========================================================================

I can investigate further if you like.

Fred Wright
_______________________________________________
devel mailing list
devel@ntpsec.org
https://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to