]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/contrib/patch_rsamd5_enable.diff
network_cmds-480.tar.gz
[apple/network_cmds.git] / unbound / contrib / patch_rsamd5_enable.diff
1 Index: 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: