[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8805) Documentation for LDAP_OPT_X_TLS_NEWCTX is wrong



This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--xtLU7S4g0jUK8GMHh0QtLLEN50A6OirhP
Content-Type: multipart/mixed; boundary="ImAEehvUF6AyAI2LgcI3vl7LvbpVlLmbd";
 protected-headers="v1"
From: Christian Heimes <cheimes@redhat.com>
To: Howard Chu <hyc@symas.com>, openldap-its@OpenLDAP.org
Message-ID: <1ad5d71c-c2c2-701e-1550-5296c850a51e@redhat.com>
Subject: Re: (ITS#8805) Documentation for LDAP_OPT_X_TLS_NEWCTX is wrong
References: <E1emLjU-0005uv-8G@gauss.openldap.net>
 <9e35c40f-d567-5dec-dd5d-085dcd356483@symas.com>
In-Reply-To: <9e35c40f-d567-5dec-dd5d-085dcd356483@symas.com>

--ImAEehvUF6AyAI2LgcI3vl7LvbpVlLmbd
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 2018-02-15 17:04, Howard Chu wrote:
> I see no disagreement between the code and the documentation. Please
> elaborate, otherwise this ITS will be closed.

For a non-native speaker, the documentation sounds a bit like
ldap_set_option(l, LDAP_OPT_X_TLS_NEWCTX, 0) does not create a new
context at all because the input value is zero. Could you please mention
that a zero value creates a client context?


--=20
Christian Heimes
Senior Software Engineer, Identity Management and Platform Security

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Eric Shander


--ImAEehvUF6AyAI2LgcI3vl7LvbpVlLmbd--

--xtLU7S4g0jUK8GMHh0QtLLEN50A6OirhP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEL7+ElqIWjf0BBClLhmhSSSEttokFAlqFtLAACgkQhmhSSSEt
ton6FggAqOSMIaWDSrVLYVQPxhqAQh+HDbinIaxgLPZarYxr0ijth8wPbpdt0f1s
Bgq21a71Qkrrr9joDhb6T3I7ZOs85wsq8mFlHAqciVV2qJGCOFDYd7SOveAyyY6/
PgETKxQ9/S/ei+8NKiRhc0UP2wAvUF8pus7TyJDMao8/EumButO8R8MJWydBOdkh
/5kUuROlo1B9owujmNY9V7tIKUU5to6zj1r05gJXrznP+ex+ZkoJz6Us+PedueRe
uF5/jAibFnLIpk0WRN+DdTl1PqZnXVGHfBaHsVbpH5Wff+yzxgUNwo4zmQB6sCuA
w+82yYr0Lbh243efKYPC+ivRjfs4kg==
=A94C
-----END PGP SIGNATURE-----

--xtLU7S4g0jUK8GMHh0QtLLEN50A6OirhP--