<div dir="ltr">Thank you! I'll try that.<div><br></div><div>DG</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-20 12:42 GMT+01:00 Jakub Jelen <span dir="ltr"><<a href="mailto:jjelen@redhat.com" target="_blank">jjelen@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/17/2017 08:39 PM, Daniel GSJ wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
I'm trying to compile cyrus-sasl-2.1.26 from source and the following error<br>
occurs:<br>
<br>
otp.c: In function 'otp_hash':<br>
otp.c:121:16: error: storage size of 'mdctx' isn't known<br>
EVP_MD_CTX mdctx;<br>
<br>
^~~~~<br>
--------<br>
<br>
otp.c: In function 'word2bin':<br>
otp.c:755:17: error: storage size of 'mdctx' isn't known<br>
EVP_MD_CTX mdctx;<br>
^~~~~<br>
<br>
<br>
O.S.= 4.9.0-kali1-amd64 / core i5<br>
<br>
I would appreciate any idea to fix it.<br>
</blockquote>
<br></span>
This is related to the new OpenSSL 1.1.0. You can either build the cyrus-sasl against older version, which works just fine (OpenSSL 1.0.2 or so) or apply the OpenSSL related patches from upstream git repository:<br>
<br>
<a href="https://github.com/cyrusimap/cyrus-sasl/commits/master" rel="noreferrer" target="_blank">https://github.com/cyrusimap/c<wbr>yrus-sasl/commits/master</a><br>
<br>
Regards,<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Jakub Jelen<br>
Software Engineer<br>
Security Technologies<br>
Red Hat<br>
</font></span></blockquote></div><br></div>