diff options
author | simo5 <simo5@users.noreply.github.com> | 2015-10-17 16:49:40 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-10-18 14:50:07 -0400 |
commit | cb87f62eed3dee7fcc903f545652623e41bda50a (patch) | |
tree | 017c14a3fd73d6a22b675494d218038494257723 | |
parent | 7a0ed4a7e9443a0506ae5373a8e5cd1ce3539e97 (diff) | |
download | cryptography-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>
-rw-r--r-- | docs/hazmat/primitives/asymmetric/ec.rst | 2 |
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` |