From d15254da4e7b4845c8f7be95436dfb1792340ec2 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Mon, 27 Nov 2023 10:31:43 -0700 Subject: [PATCH] pylint spelling --- wolfssl/__init__.py | 4 ++-- wolfssl/_methods.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wolfssl/__init__.py b/wolfssl/__init__.py index f92b38b..61f4e60 100644 --- a/wolfssl/__init__.py +++ b/wolfssl/__init__.py @@ -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 @@ -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 diff --git a/wolfssl/_methods.py b/wolfssl/_methods.py index bef162b..56a7ac0 100644 --- a/wolfssl/_methods.py +++ b/wolfssl/_methods.py @@ -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: