mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Remove RSAMD5 support
This commit is contained in:
@@ -186,7 +186,7 @@ check_rsa(const dst_private_t *priv, bool external) {
|
||||
|
||||
for (j = 0; j < priv->nelements; j++) {
|
||||
for (i = 0; i < RSA_NTAGS; i++)
|
||||
if (priv->elements[j].tag == TAG(DST_ALG_RSAMD5, i))
|
||||
if (priv->elements[j].tag == TAG(DST_ALG_RSA, i))
|
||||
break;
|
||||
if (i == RSA_NTAGS)
|
||||
return (-1);
|
||||
@@ -336,7 +336,7 @@ check_data(const dst_private_t *priv, const unsigned int alg,
|
||||
{
|
||||
/* XXXVIX this switch statement is too sparse to gen a jump table. */
|
||||
switch (alg) {
|
||||
case DST_ALG_RSAMD5:
|
||||
case DST_ALG_RSA:
|
||||
case DST_ALG_RSASHA1:
|
||||
case DST_ALG_NSEC3RSASHA1:
|
||||
case DST_ALG_RSASHA256:
|
||||
@@ -661,9 +661,6 @@ dst__privstruct_writefile(const dst_key_t *key, const dst_private_t *priv,
|
||||
|
||||
/* XXXVIX this switch statement is too sparse to gen a jump table. */
|
||||
switch (dst_key_alg(key)) {
|
||||
case DST_ALG_RSAMD5:
|
||||
fprintf(fp, "(RSA)\n");
|
||||
break;
|
||||
case DST_ALG_DH:
|
||||
fprintf(fp, "(DH)\n");
|
||||
break;
|
||||
|
Reference in New Issue
Block a user