mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Fix list of SSL error codes for older OpenSSL versions.
Apparently 1.0.1 lacks SSL_R_VERSION_TOO_HIGH and SSL_R_VERSION_TOO_LOW. Per buildfarm.
This commit is contained in:
@ -474,11 +474,13 @@ aloop:
|
||||
case SSL_R_UNKNOWN_PROTOCOL:
|
||||
case SSL_R_UNKNOWN_SSL_VERSION:
|
||||
case SSL_R_UNSUPPORTED_SSL_VERSION:
|
||||
case SSL_R_VERSION_TOO_HIGH:
|
||||
case SSL_R_VERSION_TOO_LOW:
|
||||
case SSL_R_WRONG_SSL_VERSION:
|
||||
case SSL_R_WRONG_VERSION_NUMBER:
|
||||
case SSL_R_TLSV1_ALERT_PROTOCOL_VERSION:
|
||||
#ifdef SSL_R_VERSION_TOO_HIGH
|
||||
case SSL_R_VERSION_TOO_HIGH:
|
||||
case SSL_R_VERSION_TOO_LOW:
|
||||
#endif
|
||||
give_proto_hint = true;
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user