Opened 3 years ago

Closed 3 years ago

#63956 closed defect (fixed)

ntpsec @1.2.1_1: build error with OpenSSL 3

Reported by: l2dy (Zero King) Owned by: fhgwright (Fred Wright)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ntpsec

Description

../../attic/cmac-timing.c:251:27: error: too few arguments to function call, expected 4, have 1
        if (0 == EVP_MAC_init(ctx)) {
                 ~~~~~~~~~~~~    ^
../../../../../../../../../include/openssl/evp.h:1220:1: note: 'EVP_MAC_init' declared here
int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen,
^
../../attic/cmac-timing.c:312:27: error: too few arguments to function call, expected 4, have 1
        if (0 == EVP_MAC_init(ctx)) {
                 ~~~~~~~~~~~~    ^
../../../../../../../../../include/openssl/evp.h:1220:1: note: 'EVP_MAC_init' declared here
int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen,
^
2 errors generated.

Change History (2)

comment:1 Changed 3 years ago by fhgwright (Fred Wright)

Yes, I'm aware of the build problem. To make matters worse, the rework of the openssl ports broke the existing installs of ntpsec, for a completely unnecessary reason. I'm still digging out from under the mess caused by the overly hasty move to openssl3.

comment:2 Changed 3 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In fd4d3c209695442f5d75f9129f0287b5f6906148/macports-ports (master):

ntpsec: Use openssl PG, pinned to 1.1
Closes: #63956

Note: See TracTickets for help on using tickets.