<div dir="ltr">My fix is to replace SSLv3_client_method() with TLS_client_method().</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 21, 2017 at 11:23 AM, Joel Winarske <span dir="ltr"><<a href="mailto:joel.winarske@gmail.com" target="_blank">joel.winarske@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Andy,</div><div><br></div><div>When building with OpenSSL 1.1.0c I get deprecation error after I rebuild OpenSSL to enable SSLv3:</div><div><br></div><div>error: ‘SSLv3_client_method’ is deprecated [-Werror=deprecated-<wbr>declarations]</div><div>  method = (SSL_METHOD *)SSLv3_client_method();</div><div><br></div><div><br></div><div>In the docs it has:</div><div><br></div><div><span style="font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;background-color:rgb(248,248,248)">The SSLv2 and SSLv3 protocols are deprecated and should generally not be used. Applications should typically use </span><a href="https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;vertical-align:baseline;color:rgb(117,21,144);white-space:pre-wrap;word-wrap:break-word;background-color:rgb(248,248,248)" target="_blank">SSL_CTX_set_options</a><span style="font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;background-color:rgb(248,248,248)"> in combination with the </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;vertical-align:baseline;background-color:rgb(248,248,248)">SSL_OP_NO_SSLv3</span><span style="font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;background-color:rgb(248,248,248)"> flag to disable negotiation of SSLv3 via the above </span><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;vertical-align:baseline;background-color:rgb(248,248,248)">version-flexible</span><span style="font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;background-color:rgb(248,248,248)"> SSL/TLS methods. The </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;vertical-align:baseline;background-color:rgb(248,248,248)">SSL_OP_NO_SSLv2</span><span style="font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;background-color:rgb(248,248,248)"> option is set by default, and would need to be cleared via </span><a href="https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_clear_options.html" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;vertical-align:baseline;color:rgb(117,21,144);white-space:pre-wrap;word-wrap:break-word;background-color:rgb(248,248,248)" target="_blank">SSL_CTX_clear_options</a><span style="font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;background-color:rgb(248,248,248)"> in order to enable negotiation of SSLv2.</span></div><div><span style="font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;background-color:rgb(248,248,248)"><br></span></div><div>Is this something you are planning to update?  I need this OpenSSL version for use with nghttp2.<span style="font-family:"pt serif",georgia,times,"times new roman",serif;font-size:18.4px;background-color:rgb(248,248,248)"><br></span></div><div><br></div><div><br></div><div>Thanks,</div><div>Joel</div></div>
</blockquote></div><br></div>