From 5e6e842bd1eac64a39e809be7b1383e29bf3a75a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 29 Sep 2015 17:07:29 +0100 Subject: Do not copy nm to local key as it seems to be useless. --- src/libutil/keypairs_cache.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libutil') 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 -- cgit v1.2.3