aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-29 17:07:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-29 17:07:29 +0100
commit5e6e842bd1eac64a39e809be7b1383e29bf3a75a (patch)
tree852bded82ce2da5ddcff45292206c90bccec69e4 /src/libutil
parent668ed90e8d01d23825084f02547b24663c6af013 (diff)
downloadrspamd-5e6e842bd1eac64a39e809be7b1383e29bf3a75a.tar.gz
rspamd-5e6e842bd1eac64a39e809be7b1383e29bf3a75a.zip
Do not copy nm to local key as it seems to be useless.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/keypairs_cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/keypairs_cache.c b/src/libutil/keypairs_cache.c
index 1bedb704d..c10c6959d 100644
--- a/src/libutil/keypairs_cache.c
+++ b/src/libutil/keypairs_cache.c
@@ -107,7 +107,9 @@ rspamd_keypair_cache_process (struct rspamd_keypair_cache *c,
g_assert (new != NULL);
memcpy (kp_remote->nm, new->nm, rspamd_cryptobox_NMBYTES);
+#if 0
memcpy (kp_local->nm, new->nm, rspamd_cryptobox_NMBYTES);
+#endif
}
void