Fix gosec 501

Signed-off-by: Richard Wall <richard.wall@venafi.com>
This commit is contained in:
Richard Wall 2024-01-02 11:20:16 +00:00
parent 5a1a4af3de
commit 865063594d
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ package rfc2136
import (
"crypto/hmac"
"crypto/md5"
"crypto/md5" // #nosec G501 -- MD5 is a supported TSIG Algorithm
"crypto/sha1" // #nosec G505 -- SHA1 is a supported TSIG Algorithm
"crypto/sha256"
"crypto/sha512"

View File

@ -21,7 +21,7 @@ package rfc2136
import (
"crypto/hmac"
"crypto/md5"
"crypto/md5" // #nosec G501 -- MD5 is a supported TSIG Algorithm
"crypto/sha1" // #nosec G505 -- SHA1 is a supported TSIG Algorithm
"crypto/sha256"
"crypto/sha512"