Unverified Commit 5fae336e authored by Sietse Ringers's avatar Sietse Ringers Committed by GitHub
Browse files

Merge pull request #20 from privacybydesign/windowsconfigbug

Bugfix reading configuration on windows
parents e73342b5 5a5761b7
......@@ -825,7 +825,7 @@ func (conf *Configuration) VerifySchemeManager(manager *SchemeManager) error {
// and verifies its authenticity by checking that the file hash
// is present in the (signed) scheme manager index file.
func (conf *Configuration) ReadAuthenticatedFile(manager *SchemeManager, path string) ([]byte, bool, error) {
signedHash, ok := manager.index[path]
signedHash, ok := manager.index[filepath.ToSlash(path)]
if !ok {
return nil, false, nil
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment