From cd5066a634a2cde0b7fc27818554614016a873a5 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Wed, 2 Apr 2014 14:08:42 +0200 Subject: [PATCH] If we have this functions static we cannot reuse them in other library files --- src/tincctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tincctl.c b/src/tincctl.c index 81e7a7a2..c28c20ec 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -358,7 +358,7 @@ static FILE *ask_and_open(const char *filename, const char *what, const char *mo Generate a public/private ECDSA keypair, and ask for a file to store them in. */ -static bool ecdsa_keygen(bool ask) { +bool ecdsa_keygen(bool ask) { ecdsa_t *key; FILE *f; char *pubname, *privname; @@ -412,7 +412,7 @@ static bool ecdsa_keygen(bool ask) { Generate a public/private RSA keypair, and ask for a file to store them in. */ -static bool rsa_keygen(int bits, bool ask) { +bool rsa_keygen(int bits, bool ask) { rsa_t *key; FILE *f; char *pubname, *privname; -- 2.39.2