aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorsimo5 <simo5@users.noreply.github.com>2015-10-17 16:49:40 -0400
committerSimo Sorce <simo@redhat.com>2015-10-18 14:50:07 -0400
commitcb87f62eed3dee7fcc903f545652623e41bda50a (patch)
tree017c14a3fd73d6a22b675494d218038494257723 /docs
parent7a0ed4a7e9443a0506ae5373a8e5cd1ce3539e97 (diff)
downloadcryptography-cb87f62eed3dee7fcc903f545652623e41bda50a.tar.gz
cryptography-cb87f62eed3dee7fcc903f545652623e41bda50a.tar.bz2
cryptography-cb87f62eed3dee7fcc903f545652623e41bda50a.zip
Fix EC's generate_private_key param name
The first parameter is curve, not backend Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/asymmetric/ec.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/asymmetric/ec.rst b/docs/hazmat/primitives/asymmetric/ec.rst
index 6356c278..7c67229c 100644
--- a/docs/hazmat/primitives/asymmetric/ec.rst
+++ b/docs/hazmat/primitives/asymmetric/ec.rst
@@ -12,7 +12,7 @@ Elliptic curve cryptography
Generate a new private key on ``curve`` for use with ``backend``.
- :param backend: A :class:`EllipticCurve` provider.
+ :param curve: A :class:`EllipticCurve` provider.
:param backend: A
:class:`~cryptography.hazmat.backends.interfaces.EllipticCurveBackend`