xref: /freebsd/contrib/unbound/contrib/patch_rsamd5_enable.diff (revision 517e52b6c21ccff22c46df0dcd15c19baee3d86c)
1Index: validator/val_secalgo.c
2===================================================================
3--- validator/val_secalgo.c	(revision 2759)
4+++ validator/val_secalgo.c	(working copy)
5@@ -153,7 +153,7 @@
6 	switch(id) {
7 	case LDNS_RSAMD5:
8 		/* RFC 6725 deprecates RSAMD5 */
9-		return 0;
10+		return 1;
11 	case LDNS_DSA:
12 	case LDNS_DSA_NSEC3:
13 	case LDNS_RSASHA1:
14@@ -617,7 +617,7 @@
15 	switch(id) {
16 	case LDNS_RSAMD5:
17 		/* RFC 6725 deprecates RSAMD5 */
18-		return 0;
19+		return 1;
20 	case LDNS_DSA:
21 	case LDNS_DSA_NSEC3:
22 	case LDNS_RSASHA1:
23