diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-26 17:53:22 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-26 17:53:22 +0000 |
commit | 7c8f499a6c9ff1e9b59dfd0787edade968add1eb (patch) | |
tree | 05f595aec81c29fe8f9d3f1842f91fc3bf8e34ae /src/libutil/http.h | |
parent | 625aec042ca53fc3d98200809c5fe9b3cf4b3117 (diff) | |
download | rspamd-7c8f499a6c9ff1e9b59dfd0787edade968add1eb.tar.gz rspamd-7c8f499a6c9ff1e9b59dfd0787edade968add1eb.zip |
[Feature] Simplify HTTPCrypt client support
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r-- | src/libutil/http.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libutil/http.h b/src/libutil/http.h index 3f5288eca..9f3861865 100644 --- a/src/libutil/http.h +++ b/src/libutil/http.h @@ -296,6 +296,14 @@ struct rspamd_http_message * rspamd_http_message_ref (struct rspamd_http_message * @param msg */ void rspamd_http_message_unref (struct rspamd_http_message *msg); + +/** + * Sets a key for peer + * @param msg + * @param pk + */ +void rspamd_http_message_set_peer_key (struct rspamd_http_message *msg, + struct rspamd_cryptobox_pubkey *pk); /** * Create HTTP message from URL * @param url |