Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
f7fbfd0b9e
1 changed files with 0 additions and 2 deletions
  1. 0 2
      mod/tlscert/tlscert.go

+ 0 - 2
mod/tlscert/tlscert.go

@@ -5,7 +5,6 @@ import (
 	"crypto/x509"
 	"embed"
 	"encoding/pem"
-	"fmt"
 	"io"
 	"log"
 	"os"
@@ -170,7 +169,6 @@ func (m *Manager) GetCert(helloInfo *tls.ClientHelloInfo) (*tls.Certificate, err
 	} else if m.CertMatchExists(helloInfo.ServerName) {
 		//Use x509
 		pubKey, priKey = m.GetCertByX509CNHostname(helloInfo.ServerName)
-		fmt.Println(pubKey, priKey)
 	} else {
 		//Fallback to legacy method of matching certificates
 		/*