From 3b0ee97f10decc3eeafa4039facdb1cbfd23d6b9 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 15 Nov 2014 09:17:33 -0800 Subject: Fixed several typos --- OpenSSL/RATIONALE | 2 +- OpenSSL/crypto.py | 2 +- OpenSSL/test/test_crypto.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSSL/RATIONALE b/OpenSSL/RATIONALE index a0e389c..074422c 100644 --- a/OpenSSL/RATIONALE +++ b/OpenSSL/RATIONALE @@ -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 diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py index 313a30a..8d971f2 100644 --- a/OpenSSL/crypto.py +++ b/OpenSSL/crypto.py @@ -1897,7 +1897,7 @@ class PKCS12(object): 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` diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py index 60f9e6a..f704ac0 100644 --- a/OpenSSL/test/test_crypto.py +++ b/OpenSSL/test/test_crypto.py @@ -536,7 +536,7 @@ class X509ExtTests(TestCase): 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( @@ -1212,7 +1212,7 @@ class X509ReqTests(TestCase, _PKeyInteractionTestsMixin): 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() -- cgit v1.2.1