summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-12-28 21:28:43 +0000
committerChristian Pointner <equinox@anytun.org>2008-12-28 21:28:43 +0000
commit77751e342bad640c5a47c9f9b8c411a294986336 (patch)
treecd2617ecc88d530f6744dfb00c6f2415acde70d1
parentsome cleanup (diff)
fixed build ;)
-rw-r--r--src/cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cipher.c b/src/cipher.c
index c473fbc..cbb2e56 100644
--- a/src/cipher.c
+++ b/src/cipher.c
@@ -80,7 +80,7 @@ void cipher_set_key(cipher_t* c, u_int8_t* key, u_int32_t len)
free(c->key_.buf_);
c->key_.buf_ = malloc(len);
if(!c->key_.buf_) {
- c->key_.buf_.length_ = 0;
+ c->key_.length_ = 0;
return;
}
memcpy(c->key_.buf_, key, len);