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.
.RB { hmac-sha256 | blake2s } \c
.BI " value" " value"
Configure a key for use with the
.B hmac
.B key
interface option. The
.B type
is one of
......@@ -465,7 +465,7 @@ and
.BR 0
otherwise.
.TP
.BI hmac " id"
.BI key " id"
Enable HMAC security on this interface, and use the key
.IR id .
.TP
......
......@@ -680,7 +680,7 @@ parse_anonymous_ifconf(int c, gnc_t gnc, void *closure,
if(c < -1 || penalty <= 0 || penalty > 0xFFFF)
goto error;
if_conf->max_rtt_penalty = penalty;
} else if(strcmp(token, "hmac") == 0) {
} else if(strcmp(token, "key") == 0) {
char *key_id;
struct key *key;
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