Date: Sun, 12 Jun 2016 20:09:39 +0200 From: Gert Doering Message-ID: <20160612180939.GX62247@...1296...> References: <20160612173454.GV62247@...1296...> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OQhbRXNHSL5w/5po" Content-Disposition: inline In-Reply-To: Subject: Re: [Openvpn-devel] OpenVPN-mbedTLS depends on mbedTLS debug module - safe to remove? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Steffan Karger Cc: openvpn-devel --OQhbRXNHSL5w/5po Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, On Sun, Jun 12, 2016 at 07:56:50PM +0200, Steffan Karger wrote: > > Can we detect and #ifdef this at build time? > > > > Yes, adding another #ifdef is what we try to avoid - but this is a fair= ly > > localized thing, and the dependency is clear, not a "user selectable > > combination of build options". >=20 > Sure. We can put this in e.g. #ifndef ENABLE_SMALL. Was more thinking along the line of #if !defined(ENABLE_SMALL) && !defined(MBEDTLS_COMPILED_WITH_SILLY_OPTION) because --enable-small would remove lots of other useful information... > This information is not just useful for debugging during development, > but also for debugging user problems. So I'd rather keep it in there > by default, most users don't care at all about 40 kB :) As far as I understood, if you build mbedtls without this debug.o, linking OpenVPN would just *fail* today. Or did I misunderstand? gert --=20 USENET is *not* the non-clickable part of WWW! //www.muc.de/~ge= rt/ Gert Doering - Munich, Germany gert@...1296... fax: +49-89-35655025 gert@...1297... --OQhbRXNHSL5w/5po Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQCVAwUBV12lY6kuBuNlUUl1AQJwUgP/bJAO7UBqgQ0NbdE0BQ27FN22Lv65ug2l ReD+0nunh5ALcCxwfOJZ06Cteo7Db7HejTFA0jbsfZEI971S1EWGoFCTTRqllMCP W4Cnncqgtoh8Kvo1hIWjeoIN4FuEZWEIuBNmtPa0ruHy81uz2Xma4+a492371lOI mLgDJU3uT4o= =IS+E -----END PGP SIGNATURE----- --OQhbRXNHSL5w/5po--