Re: Compile error otp.c mdctx
Jakub Jelen <[email protected]>
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <[email protected]> |
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