From: Vsevolod Stakhov Date: Thu, 7 Jul 2016 15:08:21 +0000 (+0100) Subject: [Minor] Fix improperly understood flag when maping private key X-Git-Tag: 1.3.0~142 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=31c00aeb69b6f7d760c0c2bbd83700dec9c6206f;p=rspamd.git [Minor] Fix improperly understood flag when maping private key --- 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;