Convert DST_ALG defines to enum and group HMAC algorithms

The HMACs and GSSAPI are just using unallocated values.
Moving them around shouldn't cause issues.
Only the dnssec system test knew the internal number in use for hmacmd5.

(cherry picked from commit 09f7e0607a)
This commit is contained in:
Mark Andrews
2022-09-15 19:18:53 +10:00
committed by Petr Špaček
parent 57a773fa81
commit 0bbc0c61e3
4 changed files with 43 additions and 35 deletions

View File

@@ -3373,7 +3373,7 @@ do
2) # Diffie Helman
alg=$((alg+1))
continue;;
157|160|161|162|163|164|165) # private - non standard
159|160|161|162|163|164|165) # private - non standard
alg=$((alg+1))
continue;;
1|5|7|8|10) # RSA algorithms