projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use enums for command-line options
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
16878ea
..
533e024
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-58,7
+58,7
@@
connection_t *new_connection(void) {
}
#ifndef DISABLE_LEGACY
-bool init_crypto_by_nid(legacy_crypto_t *c,
int cipher, in
t digest) {
+bool init_crypto_by_nid(legacy_crypto_t *c,
nid_t cipher, nid_
t digest) {
if(!cipher_open_by_nid(&c->cipher, cipher)) {
return false;
}