mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-12-19 05:04:20 +01:00
Use ct.SHA256Hash for log ID rather than []byte
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
package loglist
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -25,7 +24,7 @@ func (list *List) AllLogs() []*Log {
|
||||
}
|
||||
|
||||
func (log *Log) LogIDString() string {
|
||||
return base64.StdEncoding.EncodeToString(log.LogID)
|
||||
return log.LogID.Base64String()
|
||||
}
|
||||
|
||||
func (log *Log) AcceptsExpiration(expiration time.Time) bool {
|
||||
|
||||
Reference in New Issue
Block a user