move messages out of unecessary messages package and in to ntlm package

This commit is contained in:
Conor Hunt
2013-07-23 15:27:25 -05:00
parent e3fb7332f7
commit af256c1a87
24 changed files with 207 additions and 236 deletions

View File

@@ -4,7 +4,6 @@ import (
"encoding/base64"
"flag"
"fmt"
"github.com/ThomsonReutersEikon/go-ntlm/ntlm/messages"
)
func main() {
@@ -14,6 +13,6 @@ func main() {
fmt.Println("Paste the base64 encoded Authenticate message (with no line breaks):")
fmt.Scanf("%s", &data)
authenticateData, _ := base64.StdEncoding.DecodeString(data)
a, _ := messages.ParseAuthenticateMessage(authenticateData, *ntlmVersion)
a, _ := ntlm.ParseAuthenticateMessage(authenticateData, *ntlmVersion)
fmt.Printf(a.String())
}