aboutsummaryrefslogtreecommitdiff
path: root/verification.go
diff options
context:
space:
mode:
authorFChannel <>2021-06-06 12:39:06 -0700
committerFChannel <>2021-06-06 12:39:06 -0700
commit42cf749f7923ac33194ab87b8dce060f46a220bc (patch)
tree0daa34a13de81003608d0c3df6ded9a7d4eb793a /verification.go
parent54cf6163db11855696e4f81623a4bae1cb040f2e (diff)
signature verify arguments mixed up fix
Diffstat (limited to 'verification.go')
-rw-r--r--verification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/verification.go b/verification.go
index e193746..86b539e 100644
--- a/verification.go
+++ b/verification.go
@@ -611,7 +611,7 @@ func VerifyHeaderSignature(r *http.Request, actor Actor) bool {
return false
}
- if ActivityVerify(actor, sig, encSig) != nil {
+ if ActivityVerify(actor, encSig, sig) != nil {
return false
}