<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Good afternoon.<div class=""><br class=""></div><div class="">I have some TLS code that has been deployed and working on Debian Wheezy for over a year without issue. In trying to deploy the same code on Jessie, I get a mysterious, undefined error. I have installed the latest version of the SSL library code:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""># dpkg -l | grep libssl</div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">ii  libssl-dev:amd64               1.0.1k-3+deb8u1             amd64        Secure Sockets Layer toolkit - development files</div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">ii  libssl-doc                     1.0.1k-3+deb8u1             all          Secure Sockets Layer toolkit - development documentation</div><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">ii  libssl1.0.0:amd64              1.0.1k-3+deb8u1             amd64        Secure Sockets Layer toolkit - shared libraries</div></div><div class=""><br class=""></div><div class="">The problem is sourced from the SSL_COMP_add_compression_method() function in the following block:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><div style="margin: 0px; line-height: normal;" class="">        <span style="font-variant-ligatures: no-common-ligatures; color: #afad24" class="">if</span> (<span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">0</span> != SSL_COMP_add_compression_method(<span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">1</span>, COMP_zlib())) {</div><div style="margin: 0px; line-height: normal;" class="">                <span style="font-variant-ligatures: no-common-ligatures; color: #34bd26" class="">char</span> ebuf[<span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">1024</span>] = {<span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">0</span>};</div><div style="margin: 0px; line-height: normal;" class="">                ERR_error_string(ERR_get_error(), ebuf);</div><div style="margin: 0px; line-height: normal;" class="">                fprintf(<span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">stderr</span>, <span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">"</span><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class="">%s\n</span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">"</span>, ebuf);</div><div style="margin: 0px; line-height: normal; color: rgb(83, 48, 225);" class=""><span style="color: rgb(245, 245, 245);" class="">                </span><span style="color: rgb(175, 173, 36);" class="">return</span><span style="color: rgb(245, 245, 245);" class=""> (</span><span style="color: rgb(195, 55, 32);" class="">false</span><span style="color: rgb(245, 245, 245);" class="">);</span></div><div style="margin: 0px; line-height: normal;" class="">        }</div><div class=""><br class=""></div></div></div><div class="">On Wheezy, this works fine. On Jessie it returns 0 but there is no error in the queue and produces the following:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">error:00000000:lib(0):func(0):reason(0)</div><div class=""><br class=""></div><div class="">Any idea what changed from Wheezy to Jessie to cause this?</div><div class=""><br class=""></div><div class="">Thanks for any help you can provide!</div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span style="orphans: 2; widows: 2;" class="">--</span><br style="orphans: 2; widows: 2;" class=""><span style="orphans: 2; widows: 2;" class="">Mike Schiffman, CISSP</span></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class="">Packet Esotericist</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: 2; widows: 2;" class="">Farsight Security, Inc.</div></div></div></div>
</div>

<br class=""></div></body></html>