From: Todd Short Date: Sat, 5 Mar 2016 13:47:55 +0000 (-0500) Subject: GH787: Fix ALPN X-Git-Tag: OpenSSL_1_1_0-pre4~255 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=817cd0d52f0462039d1fe60462150be7f59d2002;hp=817cd0d52f0462039d1fe60462150be7f59d2002 GH787: Fix ALPN * Perform ALPN after the SNI callback; the SSL_CTX may change due to that processing * Add flags to indicate that we actually sent ALPN, to properly error out if unexpectedly received. * clean up ssl3_free() no need to explicitly clear when doing memset * document ALPN functions Signed-off-by: Rich Salz Reviewed-by: Emilia Käsper ---