diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-13 12:26:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-13 12:26:01 +0100 |
commit | 16c229e069e0b28f463484b2e894471b95ccd3a6 (patch) | |
tree | 80b6f1d9bfad91a5d32860c342b926fc38fdeee5 /src/libutil/keypairs_cache.c | |
parent | 4b086742e69fdeb4d066521e4bf9f9ffd71c1eb0 (diff) | |
download | rspamd-16c229e069e0b28f463484b2e894471b95ccd3a6.tar.gz rspamd-16c229e069e0b28f463484b2e894471b95ccd3a6.zip |
Store NM between encrypt/decrypt.
Diffstat (limited to 'src/libutil/keypairs_cache.c')
-rw-r--r-- | src/libutil/keypairs_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/keypairs_cache.c b/src/libutil/keypairs_cache.c index c10c6959d..eb9b5215c 100644 --- a/src/libutil/keypairs_cache.c +++ b/src/libutil/keypairs_cache.c @@ -107,6 +107,7 @@ rspamd_keypair_cache_process (struct rspamd_keypair_cache *c, g_assert (new != NULL); memcpy (kp_remote->nm, new->nm, rspamd_cryptobox_NMBYTES); + kp_remote->has_nm = TRUE; #if 0 memcpy (kp_local->nm, new->nm, rspamd_cryptobox_NMBYTES); #endif |