Add TODO comment for a nonsensical public API
authorBenjamin Kaduk <bkaduk@akamai.com>
Wed, 30 May 2018 16:12:22 +0000 (11:12 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 20 Jul 2018 12:12:24 +0000 (07:12 -0500)
commitc5d1fb78fd0fdbe1f1e61211bd56192a0f95bc91
treee32c89c425221568efd55ac788b0a010c30fcbb2
parent1c4aa31d79821dee9be98e915159d52cc30d8403
Add TODO comment for a nonsensical public API

The API used to set what SNI value to send in the ClientHello
can also be used on server SSL objects, with undocumented and
un-useful behavior.  Unfortunately, when generic SSL_METHODs
are used, s->server is still set, prior to the start of the
handshake, so we cannot prevent this nonsensical usage at the
present time.  Leave a note to revisit this when ABI-breaking
changes are permitted.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6378)
ssl/s3_lib.c