Skip to content

Commit

Permalink
pylint spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Nov 27, 2023
1 parent 9573327 commit d15254d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions wolfssl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ def wrap_socket(sock, keyfile=None, certfile=None, server_side=False,
The keyfile and certfile parameters specify optional files with proper
key and the certificates used to identify the local side of the connection.
The parameter server_side is a boolean which identifies whether server-side
The parameter server_side is a Boolean which identifies whether server-side
or client-side behavior is desired from this socket.
The parameter cert_reqs specifies whether a certificate is required from
Expand All @@ -932,7 +932,7 @@ def wrap_socket(sock, keyfile=None, certfile=None, server_side=False,
The parameter ssl_version specifies which version of the SSL protocol to
use. Typically, the server chooses a particular protocol version, and the
client must adapt to the server’s choice. Most of the versions are not
interoperable with the other versions. If not specified, the default is
inter-operable with the other versions. If not specified, the default is
PROTOCOL_TLS; it provides the most compatibility with other versions.
Here’s a table showing which versions in a client (down the side) can
Expand Down
2 changes: 1 addition & 1 deletion wolfssl/_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def __init__(self, protocol, server_side):
_lib.wolfDTLSv1_3_client_method()

if self.native_object == _ffi.NULL:
raise MemoryError("Unnable to allocate method object")
raise MemoryError("Unable to allocate method object")

def __del__(self):
if getattr(self, 'native_object', _ffi.NULL) != _ffi.NULL:
Expand Down

0 comments on commit d15254d

Please sign in to comment.