mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
OCSP fetch breaks down with libressl 2.9.1 #506
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @javobalazs on GitHub (Nov 9, 2020).
Hi Lukas,
Apparently, during ocsp fetch LibreSSL 2.9.1 behaves like OpenSSL 0x or 1.0x, at least with the
-header "HOST" ...parameter, so version checking is not THAT straightforward :)I only have access to LibreSSL 2.9.1. I guess LibreSSL 3+ is okay but I couldn't try it. The fix below works for LibreSSL 2.9.1. Moreover, this is the only place in dehydrated where openssl's version is checked.
Regards,
javobalazs
Patch:
@pigfoot commented on GitHub (Nov 25, 2020):
LibreSSL 3+ need the following code:
@danimo commented on GitHub (Dec 1, 2020):
I've tested this with libressl 3.2 and the patch works. Thanks.