Skip to content

Commit f349d08

Browse files
committed
Minor spelling fixes.
1 parent 1aa226b commit f349d08

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The default pip install clones wolfSSL from GitHub. To build wolfssl-py using a
4545
local installation of the native wolfSSL C library, the USE_LOCAL_WOLFSSL
4646
environment variable should be set. USE_LOCAL_WOLFSSL can be set to "1" to use
4747
the default library installation location (/usr/local/lib, /usr/local/include),
48-
or to use a custom location it can be set to the install locaiton of your native
48+
or to use a custom location it can be set to the install location of your native
4949
wolfSSL library. For example:
5050

5151
.. code-block:: bash

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Note 1:
1616
time and resources.
1717

1818
Note 2:
19-
Each path provides its own options for fine-tuning the securint parameters.
19+
Each path provides its own options for fine-tuning the security parameters.
2020
Check them out in the API documentation.
2121

2222

wolfssl/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __init__(self, protocol, server_side=None):
155155
method.native_object = _ffi.NULL
156156

157157
if self.native_object == _ffi.NULL:
158-
raise MemoryError("Unnable to allocate context object")
158+
raise MemoryError("Unable to allocate context object")
159159

160160
# verify_mode initialization needs a valid native_object.
161161
self.verify_mode = CERT_NONE
@@ -438,12 +438,12 @@ def __init__(self, sock=None, keyfile=None, certfile=None,
438438
# create the SSL object
439439
self.native_object = _lib.wolfSSL_new(self.context.native_object)
440440
if self.native_object == _ffi.NULL:
441-
raise MemoryError("Unnable to allocate ssl object")
441+
raise MemoryError("Unable to allocate ssl object")
442442

443443
ret = _lib.wolfSSL_set_fd(self.native_object, self._sock.fileno())
444444
if ret != _SSL_SUCCESS:
445445
self._release_native_object()
446-
raise ValueError("Unnable to set fd to ssl object")
446+
raise ValueError("Unable to set fd to ssl object")
447447

448448
# match domain name / host name if set in context
449449
if server_hostname is not None:
@@ -807,7 +807,7 @@ def getpeercert(self, binary_form=False):
807807
'subjectAltName': x509.get_altnames() }
808808

809809
# The following functions expose functionality of the underlying
810-
# Socket object. These are also expsed through Python's ssl module
810+
# Socket object. These are also exposed through Python's ssl module
811811
# API and are provided here for compatibility.
812812
def close(self):
813813
self._sock.close()

0 commit comments

Comments
 (0)