Skip to content

Commit 236a791

Browse files
authored
Remove mentions of require-full and require-ca
1 parent e1cd6be commit 236a791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio-postgres/src/connect_tls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ where
2424
return Ok(MaybeTlsStream::Raw(stream))
2525
}
2626
SslMode::Prefer if negotiation == SslNegotiation::Direct => {
27-
return Err(Error::tls("weak sslmode \"prefer\" may not be used with sslnegotiation=direct (use \"require\", \"verify-ca\", or \"verify-full\")".into()))
27+
return Err(Error::tls("weak sslmode \"prefer\" may not be used with sslnegotiation=direct (use \"require\")".into()))
2828
}
2929
SslMode::Prefer | SslMode::Require => {}
3030
}

0 commit comments

Comments
 (0)