[OTR-dev] Bug (with fix) in proto.h, lilbotr 3.0.0

Evan Schoenberg evan.s at dreskin.net
Sun Nov 20 14:06:36 EST 2005


At proto.h:43 we have

#define OTRL_POLICY_ALLOW_V1			0x01
#define OTRL_POLICY_ALLOW_V2			0x02
#define OTRL_POLICY_REQUIRE_ENCRYPTION		0x04
#define OTRL_POLICY_SEND_WHITESPACE_TAG		0x08
#define OTRL_POLICY_WHITESPACE_START_AKE	0x08
#define OTRL_POLICY_ERROR_START_AKE		0x10

Note that SEND_WHITESPACE_TAG and WHITESPACE_START_AKE have the same  
value.  This is incorrect; the correct definition should be:
#define OTRL_POLICY_ALLOW_V1			0x01
#define OTRL_POLICY_ALLOW_V2			0x02
#define OTRL_POLICY_REQUIRE_ENCRYPTION		0x04
#define OTRL_POLICY_SEND_WHITESPACE_TAG		0x08
#define OTRL_POLICY_WHITESPACE_START_AKE	0x10
#define OTRL_POLICY_ERROR_START_AKE		0x12

Thanks,
Evan
www.adiumx.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cypherpunks.ca/pipermail/otr-dev/attachments/20051120/4894b65a/attachment.html>


More information about the OTR-dev mailing list