X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=501fecd385770ada23842b4de74966157b1e4977;hp=f26007bda07ff27d248f98166f0133fce2a2e8e3;hb=HEAD;hpb=b8495a806b083bdd63a5ed3ef35e5badb415c7f4 diff --git a/src/net_setup.c b/src/net_setup.c index f26007bd..501fecd3 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -49,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;