Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OpenSSL/RATIONALE
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This is a list of things we need from an OpenSSL module:
This could of course be done a lot better than the way it works now,
so more transport layers than sockets are possible!
+ A well-organized error system that mimics OpenSSL's error system is
desireable. Specifically there has to be a way to find out wether the
desirable. Specifically there has to be a way to find out wether the
operation was successful, or if it failed, why it failed, so some sort
of interface to OpenSSL's error queue mechanism is needed.
+ Certificate objects (X509) and certificate name objects (X509_NAME) are
Expand Down
2 changes: 1 addition & 1 deletion OpenSSL/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -1897,7 +1897,7 @@ def get_ca_certificates(self):

def set_ca_certificates(self, cacerts):
"""
Replace or set the CA certificates withing the PKCS12 object.
Replace or set the CA certificates within the PKCS12 object.

:param cacerts: The new CA certificates.
:type cacerts: :py:data:`None` or an iterable of :py:class:`X509`
Expand Down
4 changes: 2 additions & 2 deletions OpenSSL/test/test_crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def test_unused_issuer(self):

def test_issuer(self):
"""
If an extension requires a issuer, the :py:data:`issuer` parameter to
If an extension requires an issuer, the :py:data:`issuer` parameter to
:py:class:`X509Extension` provides its value.
"""
ext2 = X509Extension(
Expand Down Expand Up @@ -1212,7 +1212,7 @@ def test_verify_wrong_key(self):
def test_verify_success(self):
"""
:py:obj:`X509Req.verify` returns :py:obj:`True` if called with a
:py:obj:`OpenSSL.crypto.PKey` which represents the public part ofthe key
:py:obj:`OpenSSL.crypto.PKey` which represents the public part of the key
which signed the request.
"""
request = X509Req()
Expand Down