#include "system.h"
#include "splay_tree.h"
-#include "cipher.h"
#include "conf.h"
#include "list.h"
#include "logger.h"
if(c->hostname)
free(c->hostname);
- cipher_close(&c->incipher);
- cipher_close(&c->outcipher);
+ if(c->inkey)
+ free(c->inkey);
+
+ if(c->outkey)
+ free(c->outkey);
+
+ if(c->mychallenge)
+ free(c->mychallenge);
if(c->hischallenge)
free(c->hischallenge);