/*
connection.c -- connection list management
- Copyright (C) 2000-2013 Guus Sliepen <guus@tinc-vpn.org>,
- 2000-2005 Ivo Timmermans
- 2008 Max Rijevski <maksuf@gmail.com>
+ Copyright (C) 2000-2013 Guus Sliepen <guus@meshlink.io>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "connection.h"
#include "list.h"
#include "logger.h"
-#include "rsa.h"
#include "utils.h"
#include "xalloc.h"
if(!c)
return;
- cipher_close(c->incipher);
- digest_close(c->indigest);
- cipher_close(c->outcipher);
- digest_close(c->outdigest);
-
sptps_stop(&c->sptps);
ecdsa_free(c->ecdsa);
- rsa_free(c->rsa);
-
- free(c->hischallenge);
buffer_clear(&c->inbuf);
buffer_clear(&c->outbuf);