remove unnecessary dependency
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-07-24 16:10:26 +10:00
parent 8f01a39eda
commit 0ddb0f356a
2 changed files with 1 additions and 2 deletions

2
go.mod
View File

@@ -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

View File

@@ -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