Commit c5aa3122 authored by Sietse Ringers's avatar Sietse Ringers

fix: update irmac

Does not yet support revocation.
parent 01997740
......@@ -45,7 +45,7 @@ func Initialize(IrmaConfiguration *C.char) *C.char {
}
// Run the actual core function
s, err = servercore.New(conf)
s, err = servercore.New(conf, nil)
// And properly return any errors
if err == nil {
......@@ -69,7 +69,7 @@ func StartSession(requestString *C.char) C.struct_StartSessionReturn {
}
// Run the actual core function
qr, token, err := s.StartSession(C.GoString(requestString))
qr, token, err := s.StartSession(C.GoString(requestString), nil)
// And properly return the result
if err != nil {
......@@ -196,7 +196,7 @@ func HandleProtocolMessage(path *C.char, method *C.char, headers C.struct_HttpHe
}
// Prepare return values
status, body, session := s.HandleProtocolMessage(C.GoString(path), C.GoString(method), headerMap, []byte(C.GoString(message)))
status, body, _, session := s.HandleProtocolMessage(C.GoString(path), C.GoString(method), headerMap, []byte(C.GoString(message)))
if session == nil {
result.SessionResult = nil
} else {
......
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