Visitar URL original
Update ssl from v3.14.3 and add _ssl.HAS_PHA by youknowone · Pull Request #7283 · RustPython/RustPython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Auto-format: cargo fmt --all
  • Loading branch information
github-actions[bot] committed Mar 1, 2026
commit 3e3165bc42d85dd0baa21d6c3983453f36524dab
4 changes: 1 addition & 3 deletions crates/stdlib/src/openssl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1135,9 +1135,7 @@ mod _ssl {
#[pygetset(setter)]
fn set_options(&self, new_opts: i64, vm: &VirtualMachine) -> PyResult<()> {
if new_opts < 0 {
return Err(vm.new_value_error(
"invalid options value".to_owned(),
));
return Err(vm.new_value_error("invalid options value".to_owned()));
}
let new_opts = new_opts as libc::c_ulong;
let mut ctx = self.builder();
Expand Down
Loading