diff options
author | Christian Pointner <equinox@anytun.org> | 2008-12-28 21:28:43 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-12-28 21:28:43 +0000 |
commit | 77751e342bad640c5a47c9f9b8c411a294986336 (patch) | |
tree | cd2617ecc88d530f6744dfb00c6f2415acde70d1 /src | |
parent | some cleanup (diff) |
fixed build ;)
Diffstat (limited to 'src')
-rw-r--r-- | src/cipher.c | 2 |
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); |