#include "ecdsagen.h"
#include "info.h"
#include "invitation.h"
-#include "names.h"
#include "rsagen.h"
#include "utils.h"
#include "tincctl.h"
Generate a public/private ECDSA keypair, and ask for a file to store
them in.
*/
-bool ecdsa_keygen(bool ask) {
+static bool ecdsa_keygen(bool ask) {
ecdsa_t *key;
FILE *f;
char *pubname, *privname;
Generate a public/private RSA keypair, and ask for a file to store
them in.
*/
-bool rsa_keygen(int bits, bool ask) {
+static bool rsa_keygen(int bits, bool ask) {
rsa_t *key;
FILE *f;
char *pubname, *privname;
free(netname);
netname = strcmp(name, ".") ? xstrdup(name) : NULL;
- make_names();
xasprintf(&tinc_conf, "%s" SLASH "tinc.conf", confbase);
xasprintf(&hosts_dir, "%s" SLASH "hosts", confbase);
xasprintf(&prompt, "%s> ", identname);
if(!parse_options(argc, argv))
return 1;
- make_names();
xasprintf(&tinc_conf, "%s" SLASH "tinc.conf", confbase);
xasprintf(&hosts_dir, "%s" SLASH "hosts", confbase);