Skip to content
GitLab
Menu
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
fb7d2349
Commit
fb7d2349
authored
Oct 24, 2019
by
Ivar Derksen
Browse files
Refactor: checkAndUpateConfiguration -> checkAndUpdateConfiguration
parent
7f399206
Changes
1
Hide whitespace changes
Inline
Side-by-side
irmaclient/session.go
View file @
fb7d2349
...
...
@@ -264,7 +264,7 @@ func serverName(hostname string, request irma.SessionRequest, conf *irma.Configu
func
(
session
*
session
)
processSessionInfo
()
{
defer
session
.
recoverFromPanic
()
if
err
:=
session
.
checkAndUpateConfiguration
();
err
!=
nil
{
if
err
:=
session
.
checkAndUp
d
ateConfiguration
();
err
!=
nil
{
session
.
fail
(
err
.
(
*
irma
.
SessionError
))
return
}
...
...
@@ -545,7 +545,7 @@ func (session *session) checkKeyshareEnrollment() bool {
return
true
}
func
(
session
*
session
)
checkAndUpateConfiguration
()
error
{
func
(
session
*
session
)
checkAndUp
d
ateConfiguration
()
error
{
// Download missing credential types/issuers/public keys from the scheme manager
downloaded
,
err
:=
session
.
client
.
Configuration
.
Download
(
session
.
request
)
if
uerr
,
ok
:=
err
.
(
*
irma
.
UnknownIdentifierError
);
ok
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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