NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/51282: build of libdns fails when MKCRYPTO=no



The following reply was made to PR bin/51282; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51282: build of libdns fails when MKCRYPTO=no
Date: Tue, 28 Jun 2016 17:35:49 +0800 (PHT)

 The previous patch needed one more "hunk" to conditionalize AES_SIT. 
 With that addition, libdns builds.
 
 However, we next run into a whole new set of problems with ntp, which 
 tries to use some MD5 code, but fails:
 
 In file included from /build/netbsd-local/src/external/bsd/ntp/dist/libntp/a_md5encrypt.c:14:0:
 /build/netbsd-local/src/external/bsd/ntp/dist/libntp/a_md5encrypt.c: In function 'MD5authencrypt':
 /build/netbsd-local/src/external/bsd/ntp/dist/include/ntp_md5.h:32:44: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
   # define EVP_DigestInit(c, dt)  (MD5Init(c), 1)
                                              ^
 /build/netbsd-local/src/external/bsd/ntp/dist/libntp/a_md5encrypt.c:46:2: note:in expansion of macro 'EVP_DigestInit'
    EVP_DigestInit(&ctx, EVP_get_digestbynid(type));
    ^
 
 
 
 
 +------------------+--------------------------+------------------------+
 | Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
 | (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
 | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
 +------------------+--------------------------+------------------------+
 


Home | Main Index | Thread Index | Old Index