forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd80f2ce
committed
Support SSL_R_VERSION_TOO_LOW when using LibreSSL
The SSL_R_VERSION_TOO_LOW error reason is supported in LibreSSL sinceLibreSSL 3.6.3, shipped in OpenBSD 7.2. SSL_R_VERSION_TOO_HIGH is onthe other hand not supported in any version of LibreSSL. Previouslywe only checked for SSL_R_VERSION_TOO_HIGH and then applied both underthat guard since OpenSSL has only ever supported both at the same time.This breaks the check into one per reason to allow SSL_R_VERSION_TOO_LOWto work when using LibreSSL.Reviewed-by: Peter Eisentraut <peter@eisentraut.org>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/eac70d46-e61c-4d71-a1e1-78e2bfa19485@eisentraut.org1 parent44e27f0 commitd80f2ce
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
547 | 547 |
| |
548 | 548 |
| |
549 | 549 |
| |
| 550 | + | |
| 551 | + | |
550 | 552 |
| |
551 | 553 |
| |
552 | 554 |
| |
|
0 commit comments
Comments
(0)