diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-07 16:08:21 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-07 16:08:21 +0100 |
commit | 31c00aeb69b6f7d760c0c2bbd83700dec9c6206f (patch) | |
tree | 991ae990e0eb09dc3815324ef0ce4c3be2304465 /src | |
parent | 65a811fb43b0d0e3557e53c9cf18131e20ba5456 (diff) | |
download | rspamd-31c00aeb69b6f7d760c0c2bbd83700dec9c6206f.tar.gz rspamd-31c00aeb69b6f7d760c0c2bbd83700dec9c6206f.zip |
[Minor] Fix improperly understood flag when maping private key
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/dkim.c | 3 |
1 files changed, 0 insertions, 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; |