diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/tinc/patches/patch-src_net_setup_c |
Initial import
Diffstat (limited to 'package/tinc/patches/patch-src_net_setup_c')
-rw-r--r-- | package/tinc/patches/patch-src_net_setup_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/tinc/patches/patch-src_net_setup_c b/package/tinc/patches/patch-src_net_setup_c new file mode 100644 index 000000000..dd4d7b495 --- /dev/null +++ b/package/tinc/patches/patch-src_net_setup_c @@ -0,0 +1,20 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- tinc-1.0.9.orig/src/net_setup.c 2008-12-22 21:35:45.000000000 +0100 ++++ tinc-1.0.9/src/net_setup.c 2009-05-11 23:52:07.000000000 +0200 +@@ -358,14 +358,14 @@ bool setup_myself(void) + } + } + } else +- myself->cipher = EVP_bf_cbc(); ++ myself->cipher = EVP_des_cbc(); + + if(myself->cipher) + myself->keylength = myself->cipher->key_len + myself->cipher->iv_len; + else + myself->keylength = 1; + +- myself->connection->outcipher = EVP_bf_ofb(); ++ myself->connection->outcipher = EVP_des_ofb(); + + myself->key = xmalloc(myself->keylength); + RAND_pseudo_bytes((unsigned char *)myself->key, myself->keylength); |