diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-04 09:51:15 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-04 09:51:15 -0700 |
| commit | 404a0bbddd90ef2fbd624a0089076aac7e9184b4 (patch) | |
| tree | 1b4dc5fa1331bb34a74bfd44a55f7557baa1303a /node/Packet.hpp | |
| parent | f057bb63cdc4bebc4608f4f2ed6da4656ddbc8a9 (diff) | |
| download | infinitytier-404a0bbddd90ef2fbd624a0089076aac7e9184b4.tar.gz infinitytier-404a0bbddd90ef2fbd624a0089076aac7e9184b4.zip | |
...
Diffstat (limited to 'node/Packet.hpp')
| -rw-r--r-- | node/Packet.hpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp index e2dc4e8b..977dc1bc 100644 --- a/node/Packet.hpp +++ b/node/Packet.hpp @@ -704,7 +704,7 @@ public: * Network membership credential push: * <[...] serialized certificate of membership> * [<[...] additional certificates of membership>] - * <[1] null byte for backward compatibility (see below)> + * <[1] 0x00, null byte marking end of COM array> * <[2] 16-bit number of capabilities> * <[...] one or more serialized Capability> * <[2] 16-bit number of tags> @@ -713,13 +713,6 @@ public: * This is sent in response to ERROR_NEED_MEMBERSHIP_CERTIFICATE and may * be pushed at any other time to keep exchanged certificates up to date. * - * Protocol versions prior to 8 do not support capabilities or tags and - * just expect an array of COMs. Adding a single NULL byte after the COM - * array causes these older versions to harmlessly abort parsing and - * ignore the newer fields. The new version checks for this null byte to - * indicate the end of the COM array, since all serialized COMs begin with - * non-zero bytes (see CertificateOfMembership). - * * OK/ERROR are not generated. */ VERB_NETWORK_CREDENTIALS = 0x0a, |
