aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/primitives/asymmetric/dsa.py2
-rw-r--r--docs/hazmat/primitives/asymmetric/dsa.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/asymmetric/dsa.py b/cryptography/hazmat/primitives/asymmetric/dsa.py
index e8c587e9..4d78679e 100644
--- a/cryptography/hazmat/primitives/asymmetric/dsa.py
+++ b/cryptography/hazmat/primitives/asymmetric/dsa.py
@@ -191,7 +191,7 @@ class DSAParameterNumbers(object):
not isinstance(g, six.integer_types)
):
raise TypeError(
- "DSAParameterNumbers p, q, q arguments must be an integers."
+ "DSAParameterNumbers p, q, and g arguments must be integers."
)
self._p = p
diff --git a/docs/hazmat/primitives/asymmetric/dsa.rst b/docs/hazmat/primitives/asymmetric/dsa.rst
index ea913dd3..2167e528 100644
--- a/docs/hazmat/primitives/asymmetric/dsa.rst
+++ b/docs/hazmat/primitives/asymmetric/dsa.rst
@@ -226,7 +226,7 @@ DSA
:type: int
- The sub group order.
+ The sub-group order.
.. attribute:: g