Commit 3b46b0ce authored by Sietse Ringers's avatar Sietse Ringers
Browse files

fix: nil deref in error handling of irma_configuration parsing

parent b119ecd1
......@@ -103,7 +103,7 @@ func (conf *Configuration) Check() error {
} {
if err := f(); err != nil {
_ = LogError(err)
if conf.IrmaConfiguration != nil {
if conf.IrmaConfiguration != nil && conf.IrmaConfiguration.Revocation != nil {
if e := conf.IrmaConfiguration.Revocation.Close(); e != nil {
_ = LogError(e)
}
......
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