Skip to content

Commit 0ebd95b

Browse files
authored
Fix incorrect DSA attribute description (#13053)
Fix incorrect `key_size` attribute description (the bit length of the prime modulus). Fixes issue #13052.
1 parent 247c09c commit 0ebd95b

File tree

1 file changed

+2
-2
lines changed
  • docs/hazmat/primitives/asymmetric

1 file changed

+2
-2
lines changed

docs/hazmat/primitives/asymmetric/dsa.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Key interfaces
277277

278278
:type: int
279279

280-
The bit length of :attr:`~DSAParameterNumbers.q`.
280+
The bit length of :attr:`~DSAParameterNumbers.p`.
281281

282282
.. method:: sign(data, algorithm)
283283

@@ -347,7 +347,7 @@ Key interfaces
347347

348348
:type: int
349349

350-
The bit length of :attr:`~DSAParameterNumbers.q`.
350+
The bit length of :attr:`~DSAParameterNumbers.p`.
351351

352352
.. method:: parameters()
353353

0 commit comments

Comments
 (0)