From 0ddb0f356a57664ab23d7a675142d889b40e512f Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 24 Jul 2023 16:10:26 +1000 Subject: [PATCH] remove unnecessary dependency --- go.mod | 2 -- main.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 65b5fa2..c903987 100644 --- a/go.mod +++ b/go.mod @@ -2,8 +2,6 @@ module go-authcheck go 1.19 -require github.com/korylprince/go-ad-auth/v3 v3.3.0 - require ( github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect diff --git a/main.go b/main.go index bc6d62c..5638882 100644 --- a/main.go +++ b/main.go @@ -159,6 +159,7 @@ func main() { // Get the certificate from the file cpb, _ := pem.Decode(cf) crt, err := x509.ParseCertificate(cpb.Bytes) + //fmt.Printf("Loaded certificate with subject %s\n", crt.Subject) if err != nil { output.AuthSuccess = false