Commit c7ad3875 authored by Antonin Décimo's avatar Antonin Décimo Committed by Juliusz Chroboczek

Use 'hmac-sha256' and not 'sha256'.

parent 5a159579
......@@ -313,7 +313,13 @@ This specifies the name of the file to which
writes out its process id, and is equivalent to the command-line option
.BR \-I .
.TP
.BI "key id" " id" " type" " type" " value" " value"
.BI first-rule-priority " priority"
This specifies smallest (highest) rule priority used with source-specific
routes. The default is 100.
.TP
.BI "key id" " id" " type " \c
.RB { hmac-sha256 | blake2s } \c
.BI " value" " value"
Configure a key for use with the
.B hmac
interface option. The
......
......@@ -783,7 +783,7 @@ parse_key(int c, gnc_t gnc, void *closure, struct key **key_return)
}
if(strcmp(auth_type, "none") == 0) {
key->type = AUTH_TYPE_NONE;
} else if(strcmp(auth_type, "sha256") == 0) {
} else if(strcmp(auth_type, "hmac-sha256") == 0) {
key->type = AUTH_TYPE_SHA256;
} else if(strcmp(auth_type, "blake2s") == 0) {
key->type = AUTH_TYPE_BLAKE2S;
......
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