summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurens Van Houtven <_@lvh.io>2015-04-23 10:48:32 -0700
committerLaurens Van Houtven <_@lvh.io>2015-04-23 10:48:32 -0700
commit6f2e426201f223b0178d966c340a5127bf36ab3c (patch)
tree7028f5ce5584f912952207f48bbd2d12e0733bfd
parent0dd8740cf52c7558281bea543b1cc3a736a0f49d (diff)
downloadpyopenssl-6f2e426201f223b0178d966c340a5127bf36ab3c.tar.gz
Consistency between all three sign methods
-rw-r--r--OpenSSL/crypto.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py
index 6e993d6..60c34ce 100644
--- a/OpenSSL/crypto.py
+++ b/OpenSSL/crypto.py
@@ -947,7 +947,7 @@ class X509Req(object):
def sign(self, pkey, digest):
"""
- Sign the certificate signing request using the supplied key and digest.
+ Sign the certificate signing request with this key and digest type.
:param pkey: The key pair to sign with.
:type pkey: :py:class:`PKey`
@@ -1068,7 +1068,7 @@ class X509(object):
def sign(self, pkey, digest):
"""
- Sign the certificate using the supplied key and digest type.
+ Sign the certificate with this key and digest type.
:param pkey: The key to sign with.
:type pkey: :py:class:`PKey`