News for hackers. Stuff that matters.
Re:OpenSSL 1.1 API migration path, or the lack thereof by aaronmdjones on Friday December 30, 2016 @03:34PM (#13287199)
I don't see it.

The email states that writing your own wrappers or accessors is a bad idea (and I agree), but that's not what's going on here -- I'm using the preprocessor to decide which code path to follow based on the version we're building against.

It's as if it was only written for 1.1.0 (when building against 1.1.0), and only written for 1.0.2 (when building against 1.0.2), you get the idea.

The only maintenance burden then is figuring out how to do something in both versions, and adding future preprocessor branches if the API changes again. This is always the case when deciding whether a new library feature is available, anyway.

There are no comments on this comment yet.