2024-06-11 18:14:44
#MiniUPnPC 2.2.8 introduced a breaking API change: the `UPNP_GetValidIGD()` now gets the external IP address and writes it to the newly added arguments (rendering `UPNP_GetExternalIPAddress()` redundant). The return values also shifted in place (sigh).
This made me finally revive #PSHS a bit. I've just pushed 0.4.3 to #Gentoo with a number of important changes: relicensing to GPL-2 and shift of supported MiniUPnPC, OpenSSL and libevent version ranges (the removed 0.4.2 version accidentally broke compatibility with libevent-2.1).
While updating to the #OpenSSL 3 API (to fix deprecation warnings), I've discovered that it made a full circle. First, OpenSSL 1.0 had a simple `RSA_generate_key()` function. Then, for 1.1 I had to replace with it complex, almost "raw" `RSA_generate_key_ex()`. And for 3.0, it's back to even simpler `EVP_RSA_gen()`.
https://github.com/projg2/pshs/compare/v0.4.2...v0.4.3