X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=9293c1189bd014d576d62c2e79113fb2edca4895;hp=b0a0c953a9acc4c2510efcfcc58fd846cac4903d;hb=edc1efed3c0cf5aebb1c765066c0413757229a31;hpb=fcaf158494af7cb015d8658a3241c324518e8d7f diff --git a/src/net_setup.c b/src/net_setup.c index b0a0c953..9293c118 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -857,7 +857,7 @@ static bool setup_myself(void) { /* Generate packet encryption key */ if(!get_config_string(lookup_config(config_tree, "Cipher"), &cipher)) - cipher = xstrdup("blowfish"); + cipher = xstrdup("aes-256-cbc"); if(!strcasecmp(cipher, "none")) { myself->incipher = NULL; @@ -881,7 +881,7 @@ static bool setup_myself(void) { } if(!get_config_string(lookup_config(config_tree, "Digest"), &digest)) - digest = xstrdup("sha1"); + digest = xstrdup("sha256"); if(!strcasecmp(digest, "none")) { myself->indigest = NULL;