[Unbound-users] Compile ldns 1.6.16/unbound 1.4.19 on Solaris 10.

W.C.A. Wijngaards wouter at nlnetlabs.nl
Mon Dec 17 08:13:23 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Simon-Bernard,

On 12/15/2012 10:10 PM, Simon-Bernard Drolet wrote:
> 
> Hi Dan,
> 
> Thank's for the infos.
> 
> But my goal here is to get unbound and drill to compile with the
> stock openssl from Solaris just like in previous version.
> 
> And because there is still a configure option to compile without
> sha2, it should work...
> 
> So there is an issue with some ifdefs...

Yes, they are fixed, below the patch for it if you want it.  The patch
is also applied for the next release of ldns.

Best regards,
   Wouter

Index: dane.c
===================================================================
- --- dane.c	(revision 3810)
+++ dane.c	(working copy)
@@ -121,6 +121,7 @@
 		return *rdf ? LDNS_STATUS_OK : LDNS_STATUS_MEM_ERR;
 		break;
 	
+#ifdef USE_SHA2
 	case LDNS_TLSA_MATCHING_TYPE_SHA256:

 		digest = LDNS_XMALLOC(unsigned char, SHA256_DIGEST_LENGTH);
@@ -150,6 +151,7 @@

 		return *rdf ? LDNS_STATUS_OK : LDNS_STATUS_MEM_ERR;
 		break;
+#endif /* USE_SHA2 */
 	
 	default:
 		LDNS_FREE(buf);


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQztQjAAoJEJ9vHC1+BF+N0F0P/0BQf6PuJ/DzpcvtHaWSDjGZ
/YX7MQ+R4dPDlv7nePFx0YIdfJhc5IAB98NF32EWa/955jVfaHOak3KbZ6KbthIW
2xgVyqhZkdjiEDrmlW1Z+8AnAnW8OHMXjeiYMKD48KHw4yc9JvkNgkRJiWD5zhbg
BB4+AqcWNh1FVz4LKJK1JbhbX9MAc+2Qwzzqx4xhTOICM/WxOIKBv5toJrg3jtF5
KaEvPqTSmG/Hai2Wfp7oWQVHhU5okIpCDuH8SIlF+L9Vg7uob8zT154FthTBDEJN
HVFK17fpRZCokqQxIlUzGkXRNq2a9TI0Gy7HBINMI14b2L2PIGRMnhJ6EEw2ymU4
DRGkQ8C37o/0SHhYwDYIBTJ/1DaSF+Sv6t/Wa4JVBoKfxAtKCCemVf4UDQG0GEyH
TJSkWVxxDHemlHfOGp4fhwgUJbkjsbx4dZlp4noHA6nGtlrmhlgSMDy0JOkr66Zf
pS9Ze6NCnPJcet4wctQLcUo/1uei0qmZJwpOlU8x1obQODQ8Jc6H6wdfwJb6sQ1s
ZD44ojGy3DXXFUmc8CuM3vmGBuvrbu8kG6kSCaOA5iCfb/ORQyebi96oovBdVG6L
CTHmrF9iLGhFn1t7j+MIuwI5l0f4n/CT3splQXtmMDNy6ilDJNrClX3zHhuGcOD6
siZpVaHU+SUyjtRalSPS
=LXCc
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list