Skip to content

Commit 749be9d

Browse files
authored
Merge pull request #2554 from deepbluev7/number-fixes
Fix some numbers in the spec text.
2 parents f9af712 + ddeb695 commit 749be9d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix some numbers in the specification to match their explanation text.

specification/modules/end_to_end_encryption.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ received the other party's part. Thus an attacker essentially only has one attem
513513
attack the Diffie-Hellman exchange, and hence we can verify fewer bits while still
514514
achieving a high degree of security: if we verify n bits, then an attacker has a 1 in
515515
2\ :sup:`n` chance of success. For example, if we verify 40 bits, then an attacker has
516-
a 1 in 1,099,511,627,776 chance (or less than 1 in 1012 chance) of success. A failed
516+
a 1 in 1,099,511,627,776 chance (or less than 1 in 10\ :sup:`12` chance) of success. A failed
517517
attack would result in a mismatched Short Authentication String, alerting users to the
518518
attack.
519519

specification/modules/tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The tag namespace is defined as follows:
5555
display name directly). These non-namespaced tags are supported for historical reasons. New tags should use
5656
one of the defined namespaces above.
5757

58-
Two special names are listed in the specification:
58+
Several special names are listed in the specification:
5959
The following tags are defined in the ``m.*`` namespace:
6060

6161
* ``m.favourite``: The user's favourite rooms. These should be shown with higher precedence than other rooms.

0 commit comments

Comments
 (0)