---
source: crates/ruff_linter/src/rules/flake8_bandit/mod.rs
---
S504.py:4:1: S504 `ssl.wrap_socket` called without an `ssl_version``
  |
2 | from ssl import wrap_socket
3 | 
4 | ssl.wrap_socket()  # S504
  | ^^^^^^^^^^^^^^^^^ S504
5 | wrap_socket()  # S504
6 | ssl.wrap_socket(ssl_version=ssl.PROTOCOL_TLSv1_2)  # OK
  |

S504.py:5:1: S504 `ssl.wrap_socket` called without an `ssl_version``
  |
4 | ssl.wrap_socket()  # S504
5 | wrap_socket()  # S504
  | ^^^^^^^^^^^^^ S504
6 | ssl.wrap_socket(ssl_version=ssl.PROTOCOL_TLSv1_2)  # OK
  |


