File: patch_rsamd5_enable.diff

package info (click to toggle)
unbound 1.9.0-2%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 24,688 kB
  • sloc: ansic: 99,027; sh: 5,354; yacc: 2,921; python: 1,698; makefile: 1,516; perl: 141; xml: 36
file content (22 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: validator/val_secalgo.c
===================================================================
--- validator/val_secalgo.c	(revision 2759)
+++ validator/val_secalgo.c	(working copy)
@@ -153,7 +153,7 @@
 	switch(id) {
 	case LDNS_RSAMD5:
 		/* RFC 6725 deprecates RSAMD5 */
-		return 0;
+		return 1;
 	case LDNS_DSA:
 	case LDNS_DSA_NSEC3:
 	case LDNS_RSASHA1:
@@ -617,7 +617,7 @@
 	switch(id) {
 	case LDNS_RSAMD5:
 		/* RFC 6725 deprecates RSAMD5 */
-		return 0;
+		return 1;
 	case LDNS_DSA:
 	case LDNS_DSA_NSEC3:
 	case LDNS_RSASHA1: