diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index cebefca..7a30010 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -594,7 +594,10 @@ int process_message(snac *snac, char *msg, char *req) | |||
| 594 | } | 594 | } |
| 595 | 595 | ||
| 596 | /* check the signature */ | 596 | /* check the signature */ |
| 597 | /* ... */ | 597 | if (!check_signature(snac, req)) { |
| 598 | snac_log(snac, xs_fmt("bad signature")); | ||
| 599 | return 1; | ||
| 600 | } | ||
| 598 | 601 | ||
| 599 | if (strcmp(type, "Follow") == 0) { | 602 | if (strcmp(type, "Follow") == 0) { |
| 600 | xs *reply = msg_accept(snac, msg, actor); | 603 | xs *reply = msg_accept(snac, msg, actor); |