diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-01-24 04:50:35 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-02-13 21:55:17 +0100 |
commit | 9ab07fd76ef631729aa96c5c23e575b19e6c6b77 (patch) | |
tree | 29437089dbab55f9b4e708775e7273023b41c1d4 /src/main.c | |
parent | 8906775bd1ceee2d35aded80630bbffaf5d955b1 (diff) |
compat: backport siphash & dst_cache from mainline
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6,7 +6,6 @@ #include "packets.h" #include "crypto/chacha20poly1305.h" #include "crypto/blake2s.h" -#include "crypto/siphash.h" #include "crypto/curve25519.h" #include <linux/version.h> @@ -19,7 +18,7 @@ static int __init mod_init(void) int ret; #ifdef DEBUG - if (!routing_table_selftest() || !packet_counter_selftest() || !curve25519_selftest() || !chacha20poly1305_selftest() || !blake2s_selftest() || !siphash_selftest()) + if (!routing_table_selftest() || !packet_counter_selftest() || !curve25519_selftest() || !chacha20poly1305_selftest() || !blake2s_selftest()) return -ENOTRECOVERABLE; #endif chacha20poly1305_init(); |