Re: Compile error otp.c mdctx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/17/2017 08:39 PM, Daniel GSJ wrote:
Hello,
I'm trying to compile cyrus-sasl-2.1.26 from source and the following error
occurs:

otp.c: In function 'otp_hash':
otp.c:121:16: error: storage size of 'mdctx' isn't known
     EVP_MD_CTX mdctx;

                ^~~~~
--------

otp.c: In function 'word2bin':
otp.c:755:17: error: storage size of 'mdctx' isn't known
      EVP_MD_CTX mdctx;
                 ^~~~~


O.S.= 4.9.0-kali1-amd64 / core i5

I would appreciate any idea to fix it.

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:

https://github.com/cyrusimap/cyrus-sasl/commits/master

Regards,

--
Jakub Jelen
Software Engineer
Security Technologies
Red Hat



[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux