re-add support for version 30

fixes #72
This commit is contained in:
Lucas Clemente
2016-05-10 11:05:52 +02:00
parent a4cdc97fb1
commit 7609246b45
5 changed files with 16 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ type VersionNumber int
// SupportedVersions lists the versions that the server supports
var SupportedVersions = []VersionNumber{
31, 32,
30, 31, 32,
}
// SupportedVersionsAsTags is needed for the SHLO crypto message

View File

@@ -19,7 +19,7 @@ var _ = Describe("Version", func() {
})
It("has proper tag list", func() {
Expect(protocol.SupportedVersionsAsTags).To(Equal([]byte("Q031Q032")))
Expect(protocol.SupportedVersionsAsTags).To(Equal([]byte("Q030Q031Q032")))
})
It("recognizes supported versions", func() {