summaryrefslogtreecommitdiffstats
path: root/src/libutil/http.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-25 00:43:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-25 00:43:34 +0100
commit5c4626638cf38d7106d9549d05f768406849ea20 (patch)
tree5d4acd3a702c77084212cd555d9347e53160b71f /src/libutil/http.h
parenteb38f643f3b26d552fb4503dcc8528e3388c9b99 (diff)
downloadrspamd-5c4626638cf38d7106d9549d05f768406849ea20.tar.gz
rspamd-5c4626638cf38d7106d9549d05f768406849ea20.zip
Implement generating keypairs via rspamadm.
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r--src/libutil/http.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/http.h b/src/libutil/http.h
index efd6d1e17..ffc820ce8 100644
--- a/src/libutil/http.h
+++ b/src/libutil/http.h
@@ -199,7 +199,8 @@ gboolean rspamd_http_connection_is_encrypted (struct rspamd_http_connection *con
/** Encode output with base 32 */
#define RSPAMD_KEYPAIR_BASE32 0x8
/** Human readable output */
-#define RSPAMD_KEYPAIR_HUMAN 0x16
+#define RSPAMD_KEYPAIR_HUMAN 0x10
+#define RSPAMD_KEYPAIR_HEX 0x20
/**
* Print keypair encoding it if needed
* @param key key to print