From 31c00aeb69b6f7d760c0c2bbd83700dec9c6206f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 7 Jul 2016 16:08:21 +0100 Subject: [PATCH] [Minor] Fix improperly understood flag when maping private key --- src/libserver/dkim.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index 89a8b9175..ebcea538a 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -1923,9 +1923,6 @@ rspamd_dkim_sign_key_load (const gchar *path, GError **err) } nkey = g_slice_alloc0 (sizeof (*nkey)); -#ifdef MADV_ZERO_WIRED_PAGES - madvise (map, len, MADV_ZERO_WIRED_PAGES); -#endif (void)mlock (map, len); nkey->keydata = map; nkey->keylen = len; -- 2.39.5