]> source.dussan.org Git - rspamd.git/commitdiff
Do not copy nm to local key as it seems to be useless.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 29 Sep 2015 16:07:29 +0000 (17:07 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 29 Sep 2015 16:07:29 +0000 (17:07 +0100)
src/libutil/keypairs_cache.c

index 1bedb704d3280b9643acb91ce2e1fb76bc983974..c10c6959d8e9cbfabb7fa8d0f7b5f1f4e7bde56f 100644 (file)
@@ -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