On Sun, 22 Dec 2024, Hal Murray wrote:

The macro to map EVP_MD_CTX_reset to EVP_MD_CTX_init wouldn't have
worked,  but it didn't matter since that function isn't actually used.  I
didn't  think it was a good idea to leave a time bomb for some possible
future  use, so I fixed it.

I would just delete it.

You can look at what I did and see if it makes sense to ditch it.

OpenSSL initilization had a major change somewhere years ago.  It used to
take a few calls to load stuff.  That now happens automatically.

This isn't *that* init - it's a *different* init. This one reinitializes a context so that it can be reused, rather than having to allocate a new one. It's not currently used here, but that could change it it's useful.

I also added the new include to the two affected attic programs.

Thanks.  Most of that stuff is just timing hacks.  We could skip building
any of them that are causing troubles.  That would take a bit of work in
attic/wscript.  It would need a hack to get the OpenSSL version number.  A
sort of automatic local --disable-nts

They all build and work now. I think there's one that disables itself in the "old" case, but it doesn't fail the build.

I just submitted MR !1413 for the updates.

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

Reply via email to