Commit 375ea5ff authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Rename interface option hmac to key.

parent 1b9abc4b
...@@ -321,7 +321,7 @@ routes. The default is 100. ...@@ -321,7 +321,7 @@ routes. The default is 100.
.RB { hmac-sha256 | blake2s } \c .RB { hmac-sha256 | blake2s } \c
.BI " value" " value" .BI " value" " value"
Configure a key for use with the Configure a key for use with the
.B hmac .B key
interface option. The interface option. The
.B type .B type
is one of is one of
...@@ -465,7 +465,7 @@ and ...@@ -465,7 +465,7 @@ and
.BR 0 .BR 0
otherwise. otherwise.
.TP .TP
.BI hmac " id" .BI key " id"
Enable HMAC security on this interface, and use the key Enable HMAC security on this interface, and use the key
.IR id . .IR id .
.TP .TP
......
...@@ -680,7 +680,7 @@ parse_anonymous_ifconf(int c, gnc_t gnc, void *closure, ...@@ -680,7 +680,7 @@ parse_anonymous_ifconf(int c, gnc_t gnc, void *closure,
if(c < -1 || penalty <= 0 || penalty > 0xFFFF) if(c < -1 || penalty <= 0 || penalty > 0xFFFF)
goto error; goto error;
if_conf->max_rtt_penalty = penalty; if_conf->max_rtt_penalty = penalty;
} else if(strcmp(token, "hmac") == 0) { } else if(strcmp(token, "key") == 0) {
char *key_id; char *key_id;
struct key *key; struct key *key;
c = getword(c, &key_id, gnc, closure); c = getword(c, &key_id, gnc, closure);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment