Skip to content
Snippets Groups Projects
Commit 474ab448 authored by Geert Hendrickx's avatar Geert Hendrickx
Browse files

Fixed TSIG algorithm bug.

parent ad238dbd
No related branches found
No related tags found
No related merge requests found
......@@ -546,6 +546,8 @@ uint16_t tsig_alg_digest_length(tsig_algorithm_t alg)
case KNOT_TSIG_ALG_HMAC_SHA224:
return KNOT_TSIG_ALG_DIG_LENGTH_SHA224;
case KNOT_TSIG_ALG_HMAC_SHA256:
return KNOT_TSIG_ALG_DIG_LENGTH_SHA256;
case KNOT_TSIG_ALG_HMAC_SHA384:
return KNOT_TSIG_ALG_DIG_LENGTH_SHA384;
case KNOT_TSIG_ALG_HMAC_SHA512:
return KNOT_TSIG_ALG_DIG_LENGTH_SHA512;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment