Skip to content

Commit

Permalink
Merge pull request #46 from anhu/errmsg
Browse files Browse the repository at this point in the history
Rephrase error message.
  • Loading branch information
JacobBarthelmeh authored Nov 29, 2023
2 parents 9573327 + 2da4d19 commit be489fd
Showing 1 changed file with 1 addition and 1 deletion.
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("Cannot allocate method object")

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

0 comments on commit be489fd

Please sign in to comment.