From 404a0bbddd90ef2fbd624a0089076aac7e9184b4 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 4 Aug 2016 09:51:15 -0700 Subject: ... --- node/Packet.hpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'node/Packet.hpp') 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, -- cgit v1.2.3