Skip to content

Commit

Permalink
Some trivial TODO resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
andlabs committed Sep 26, 2016
1 parent 6eb329c commit 31a6dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions bridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ func IdentifyKeySector(possibleKeySector []byte) Bridge {

type IncompleteImplementationError string

// TODO unexport
func IncompleteImplementation(format string, args ...interface{}) IncompleteImplementationError {
func incompleteImpl(format string, args ...interface{}) IncompleteImplementationError {
return IncompleteImplementationError(fmt.Sprintf(format, args...))
}

Expand Down
2 changes: 1 addition & 1 deletion bridge/jmicron.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (ks *JMicronKeySector) DEK() (dek []byte, err error) {
}

if ks.d.KeySize != 0x20 {
return nil, IncompleteImplementation("The size of the encryption key in your JMicron sector (%d) is not known.", ks.d.KeySize)
return nil, incompleteImpl("The size of the encryption key in your JMicron sector (%d) is not known.", ks.d.KeySize)
}

dek = make([]byte, 32)
Expand Down

0 comments on commit 31a6dad

Please sign in to comment.