@@ -281,11 +281,11 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
281281 * parameters have no effect on non-SSL connections, so there is no reason
282282 * to exclude them since none of them are mandatory.
283283 */
284- {"sslmode" , "PGSSLMODE" , DefaultSSLMode , NULL ,
284+ {"sslmode" , "PGSSLMODE" , "verify-full" , NULL ,
285285 "SSL-Mode" , "" , 12 , /* sizeof("verify-full") == 12 */
286286 offsetof(struct pg_conn , sslmode )},
287287
288- {"sslnegotiation" , "PGSSLNEGOTIATION" , DefaultSSLNegotiation , NULL ,
288+ {"sslnegotiation" , "PGSSLNEGOTIATION" , "direct" , NULL ,
289289 "SSL-Negotiation" , "" , 9 , /* sizeof("postgres") == 9 */
290290 offsetof(struct pg_conn , sslnegotiation )},
291291
@@ -309,7 +309,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
309309 "SSL-Client-Key-Password" , "*" , 20 ,
310310 offsetof(struct pg_conn , sslpassword )},
311311
312- {"sslrootcert" , "PGSSLROOTCERT" , NULL , NULL ,
312+ {"sslrootcert" , "PGSSLROOTCERT" , "system" , NULL ,
313313 "SSL-Root-Certificate" , "" , 64 ,
314314 offsetof(struct pg_conn , sslrootcert )},
315315
0 commit comments