projects
/
meshlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbe4d25
)
If we have this functions static we cannot reuse them in other library files
author
Saverio Proto
<zioproto@gmail.com>
Wed, 2 Apr 2014 12:08:42 +0000
(14:08 +0200)
committer
Saverio Proto
<zioproto@gmail.com>
Wed, 2 Apr 2014 12:08:42 +0000
(14:08 +0200)
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index 81e7a7a2cbdbcbd4f94835769379b22a37556413..c28c20ec8599fa4532ed3fb219ab92925c2fad31 100644
(file)
--- 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;