X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_setup.c;h=501fecd385770ada23842b4de74966157b1e4977;hb=c0331713431949a5fd6bf47501b9fadf6489c5c1;hp=cac7455d3a16f44add273ac4d41d2cc53963e0f8;hpb=dff4955ddec1d318a56997388f367186c5b8078c;p=tinc diff --git a/src/net_setup.c b/src/net_setup.c index cac7455d..501fecd3 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "avl_tree.h" #include "conf.h" @@ -48,18 +49,6 @@ char *myport; devops_t devops; -#ifndef HAVE_RSA_SET0_KEY -int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) { - BN_free(r->n); - r->n = n; - BN_free(r->e); - r->e = e; - BN_free(r->d); - r->d = d; - return 1; -} -#endif - bool read_rsa_public_key(connection_t *c) { FILE *fp; char *pubname;