summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/libotr/read/Protocol-v3.html
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2016-03-11 10:15:52 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2016-03-11 10:15:52 +0000
commit37a22955a1b614c0b112ae5dee30ce1f6c80da77 (patch)
tree542ca9217da1e014f372b4b243d552a6821bbac1 /plugins/MirOTR/libotr/read/Protocol-v3.html
parent233d4da0d94f0fddd54182426f5abef7eb2a25f7 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16455 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/libotr/read/Protocol-v3.html')
-rw-r--r--plugins/MirOTR/libotr/read/Protocol-v3.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/MirOTR/libotr/read/Protocol-v3.html b/plugins/MirOTR/libotr/read/Protocol-v3.html
index 99c376b98b..49b2edbabc 100644
--- a/plugins/MirOTR/libotr/read/Protocol-v3.html
+++ b/plugins/MirOTR/libotr/read/Protocol-v3.html
@@ -1280,7 +1280,8 @@ fragmentation on outgoing messages is optional.</p>
<li>Note that k and n are unsigned short ints (2 bytes), and each has
a maximum value of 65535. Also, each piece[k] must be
- non-empty.</li>
+ non-empty. The instance tags (if applicable) and the k and n
+ values may have leading zeroes.</li>
</ul>
<p>Note that fragments are not themselves messages that can be
fragmented: you can't fragment a fragment.</p></dd>
@@ -1610,7 +1611,9 @@ AUTHSTATE_V1_SETUP:</dt>
<dd>Ignore the message.</dd>
</dl>
<h4>Receiving a Reveal Signature Message</h4>
-<p>If ALLOW_V2 is not set, ignore this message. Otherwise:</p>
+<p>If the message is version 2 and ALLOW_V2 is not set, ignore this message.
+Similarly if the message is version 3 and ALLOW_V3 is not set, ignore the
+message. Otherwise:</p>
<dl>
<dt>If authstate is AUTHSTATE_AWAITING_REVEALSIG:</dt>
<dd>Use the received value of r to decrypt the value of g<sup>x</sup>
@@ -1630,7 +1633,9 @@ AUTHSTATE_AWAITING_SIG, or AUTHSTATE_V1_SETUP:</dt>
<dd>Ignore the message.</dd>
</dl>
<h4>Receiving a Signature Message</h4>
-<p>If ALLOW_V2 is not set, ignore this message. Otherwise:</p>
+<p>If the message is version 2 and ALLOW_V2 is not set, ignore this message.
+Similarly if the message is version 3 and ALLOW_V3 is not set, ignore the
+message. Otherwise:</p>
<dl>
<dt>If authstate is AUTHSTATE_AWAITING_SIG:</dt>
<dd>Decrypt the encrypted signature, and verify the signature and the MACs.