X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fnet_setup.c;h=de2d0feaadf7fd84dc81cac8e69164c421c412a3;hp=44c8d8dca3e3e2dbba197d9457caa409f412ca9e;hb=108b238915c5f58b3d94ab433dc5d04e064c2b11;hpb=761517c21c37a808a19b487aa116c3c19439feca diff --git a/src/net_setup.c b/src/net_setup.c index 44c8d8dc..de2d0fea 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -293,7 +293,7 @@ bool setup_myself(void) { /* Generate packet encryption key */ if(!get_config_string(lookup_config(myself->connection->config_tree, "Cipher"), &cipher)) - cipher = xstrdup("aes256"); + cipher = xstrdup("blowfish"); if(!cipher_open_by_name(&myself->incipher, cipher)) { logger(LOG_ERR, "Unrecognized cipher type!"); @@ -308,7 +308,7 @@ bool setup_myself(void) { /* Check if we want to use message authentication codes... */ if(!get_config_string(lookup_config(myself->connection->config_tree, "Digest"), &digest)) - digest = xstrdup("sha256"); + digest = xstrdup("sha1"); int maclength = 4; get_config_int(lookup_config(myself->connection->config_tree, "MACLength"), &maclength);