Commit fb7d2349 authored by Ivar Derksen's avatar Ivar Derksen
Browse files

Refactor: checkAndUpateConfiguration -> checkAndUpdateConfiguration

parent 7f399206
...@@ -264,7 +264,7 @@ func serverName(hostname string, request irma.SessionRequest, conf *irma.Configu ...@@ -264,7 +264,7 @@ func serverName(hostname string, request irma.SessionRequest, conf *irma.Configu
func (session *session) processSessionInfo() { func (session *session) processSessionInfo() {
defer session.recoverFromPanic() defer session.recoverFromPanic()
if err := session.checkAndUpateConfiguration(); err != nil { if err := session.checkAndUpdateConfiguration(); err != nil {
session.fail(err.(*irma.SessionError)) session.fail(err.(*irma.SessionError))
return return
} }
...@@ -545,7 +545,7 @@ func (session *session) checkKeyshareEnrollment() bool { ...@@ -545,7 +545,7 @@ func (session *session) checkKeyshareEnrollment() bool {
return true return true
} }
func (session *session) checkAndUpateConfiguration() error { func (session *session) checkAndUpdateConfiguration() error {
// Download missing credential types/issuers/public keys from the scheme manager // Download missing credential types/issuers/public keys from the scheme manager
downloaded, err := session.client.Configuration.Download(session.request) downloaded, err := session.client.Configuration.Download(session.request)
if uerr, ok := err.(*irma.UnknownIdentifierError); ok { if uerr, ok := err.(*irma.UnknownIdentifierError); ok {
......
Supports Markdown
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