From 240a95289c8fb2da1bece0d94cc5ba5830674ddb Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 4 Aug 2009 21:41:10 +0000 Subject: [PATCH] ASN.1 constraint fixes. --- docs/pokerth.asn1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/pokerth.asn1 b/docs/pokerth.asn1 index 16fbc039..c8714bde 100644 --- a/docs/pokerth.asn1 +++ b/docs/pokerth.asn1 @@ -82,13 +82,13 @@ Version ::= SEQUENCE { } AnonymousLogin ::= SEQUENCE { - playerName UTF8String (SIZE(1..64)), + playerName UTF8String (SIZE(1..32)), avatar AvatarHash OPTIONAL } -- TODO challenge/response AuthenticatedLogin ::= SEQUENCE { - playerName UTF8String (SIZE(1..64)), + playerName UTF8String (SIZE(1..32)), avatar AvatarHash OPTIONAL } @@ -194,7 +194,7 @@ PlayerInfoReplyMessage ::= [APPLICATION 6] SEQUENCE { } PlayerInfoData ::= SEQUENCE { - playerName UTF8String (SIZE(1..64)), + playerName UTF8String (SIZE(1..32)), isHuman BOOLEAN, avatarData SEQUENCE { avatarType NetAvatarType, @@ -268,7 +268,7 @@ NetGameInfo ::= SEQUENCE { proposedGuiSpeed INTEGER(1..11), playerActionTimeout INTEGER(5..60), -- These are seconds firstSmallBlind INTEGER(1..20000), - endRaiseSmallBlindValue INTEGER(1..20000), + endRaiseSmallBlindValue INTEGER(0..20000), startMoney INTEGER(1..1000000), manualBlinds SEQUENCE SIZE(0..30) OF INTEGER(1..20001) }