From 2e07c29960c20d74814a94b567fda782b3f7c5d5 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 2 Jan 2009 20:01:35 +0000 Subject: changed to anytun compatible version --- src/cipher.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cipher.c') diff --git a/src/cipher.c b/src/cipher.c index 22fba9a..d400ca8 100644 --- a/src/cipher.c +++ b/src/cipher.c @@ -239,10 +239,10 @@ buffer_t cipher_aesctr_calc_ctr(cipher_t* c, key_derivation_t* kd, seq_nr_t seq_ mpz_mul_2exp(ctr, ctr, 16); result.buf_ = mpz_export(NULL, (size_t*)&result.length_, 1, 1, 0, 0, ctr); - if(faked_msb) { - c->salt_.buf_[0] = 0; - result.buf_[0] = 0; - } +/* if(faked_msb) { */ +/* c->salt_.buf_[0] = 0; */ +/* result.buf_[0] = 0; */ +/* } */ mpz_clear(ctr); mpz_clear(sid_mux); -- cgit v1.2.3