forked from jason/cpolis
Switch to atom feed
This commit is contained in:
@ -45,6 +45,7 @@ func LoadKey(filename string) ([]byte, error) {
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error opening key file: %v", err)
|
||||
}
|
||||
defer file.Close()
|
||||
|
||||
key := make([]byte, 32)
|
||||
if err = gob.NewDecoder(file).Decode(&key); err != nil {
|
||||
|
Reference in New Issue
Block a user