Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
5fae336e
Unverified
Commit
5fae336e
authored
Aug 01, 2018
by
Sietse Ringers
Committed by
GitHub
Aug 01, 2018
Browse files
Merge pull request #20 from privacybydesign/windowsconfigbug
Bugfix reading configuration on windows
parents
e73342b5
5a5761b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
irmaconfig.go
View file @
5fae336e
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment