summaryrefslogtreecommitdiff
path: root/tls-pem2html.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-19 16:35:13 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-19 16:35:13 -0500
commitf1d1926dfe59a00f98a0a394d955e0a3d8ab203e (patch)
tree2b0f840f774e8cf32d8fece62737b3ece75ceb66 /tls-pem2html.go
parentd4cf234175535e3f14438a45b7bc09882d819953 (diff)
show everything at once
Diffstat (limited to 'tls-pem2html.go')
-rw-r--r--tls-pem2html.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tls-pem2html.go b/tls-pem2html.go
index 9e8e80a..2dce49a 100644
--- a/tls-pem2html.go
+++ b/tls-pem2html.go
@@ -78,6 +78,7 @@ var tmpl = template.Must(template.New("pem2html").
}
</style>
<script src="sorttable.js"></script>
+ <base target="_parent" />
</head>
<body>
<table class=sortable>
@@ -180,7 +181,7 @@ func (l Certs) Len() int {
// Less reports whether the element with
// index i should sort before the element with index j.
func (l Certs) Less(i, j int) bool {
- return l[i].X509.NotAfter.UTC().After(l[j].X509.NotAfter.UTC())
+ return l[i].X509.NotAfter.After(l[j].X509.NotAfter)
}
// Swap swaps the elements with indexes i and j.