On 09.07.26 23:14, Daniel Gustafsson wrote:
The attached implements LibreSSL as a separate TLS library implementation (*)
in libpq with fe-secure-libressl.c and be-secure-libressl.c along with build
and test infrastructure.

I'm skeptical about this approach. What has been presented so far doesn't convince me that the differences between the openssl and the libressl variants will be larger than their commonalities.

As an example, my recent patch [0] works just the same on both (AFAICT). I didn't have to worry about the differences at all.

Under the proposed system, I would have to make the same code changes twice, test everything twice (including obtaining libressl in the first place and set up a separate build for it). Doesn't sound appealing.

Another possible future of the proposed system is that changes and improvements for the libressl variant are forgotten or just skipped, which would lead to it degrading over time, while now at least it is sort of dragged along by force.


[0]: https://www.postgresql.org/message-id/953bceb7-340d-4717-9682-0ebe65c4b57e%40eisentraut.org


Reply via email to