mirror of
https://github.com/square/certigo.git
synced 2026-10-21 09:00:52 +00:00
Merge pull request #105 from square/less-panic
Don't panic in the JCEKS library
This commit is contained in:
+2
-2
@@ -344,9 +344,9 @@ func (ks *KeyStore) Parse(r io.Reader, password []byte) error {
|
||||
}
|
||||
case 3:
|
||||
// Secret-key entry
|
||||
fallthrough
|
||||
return fmt.Errorf("unimplemented: Secret-key")
|
||||
default:
|
||||
panic(fmt.Errorf("unimplemented tag: %d", tag))
|
||||
return fmt.Errorf("unimplemented tag: %d", tag)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user