summaryrefslogtreecommitdiff
path: root/bin-src/pem-diff.go
diff options
context:
space:
mode:
Diffstat (limited to 'bin-src/pem-diff.go')
-rw-r--r--bin-src/pem-diff.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin-src/pem-diff.go b/bin-src/pem-diff.go
index da27a62..0159349 100644
--- a/bin-src/pem-diff.go
+++ b/bin-src/pem-diff.go
@@ -10,6 +10,8 @@ import (
"os"
"sort"
"strings"
+
+ "./util"
)
func handleErr(err error, str string, a ...interface{}) {
@@ -89,6 +91,9 @@ func readCrtSh(filename string, hosts []string) (map[string]Cert, error) {
if err != nil {
return nil, err
}
+ if util.IsPrecertificate(certX509) {
+ continue
+ }
for _, host := range hosts {
if certX509.VerifyHostname(host) == nil {
if old, haveold := ret[host]; !haveold || certX509.NotBefore.After(old.X509.NotBefore) {