Commit d159c2fa authored by zauberstuhl's avatar zauberstuhl

Add more error msgs for author signature func

parent 42b4987a
......@@ -87,7 +87,8 @@ func AuthorSignature(data interface{}, order, privKey string) (string, error) {
}
text += positive + ";"
default:
fatal("Unknown type in AuthorSignature that will break federation!")
err := errors.New("Unknown type in AuthorSignature that will break federation!")
return text, err
}
}
}
......
......@@ -53,7 +53,6 @@ func ParseDecryptedRequest(entityXML []byte) (message Message, err error) {
return
}
var entity = Entity{
SignatureOrder: FetchEntityOrder(string(data)),
}
......
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