Re: Compile error otp.c mdctx
Daniel GSJ <[email protected]>
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <CAL-vZQ-t86JXYES1gGBY61wa-kiDNKrtMAc+yvM6-xXKmDP1TQ@mail.gmail.com> |
Thank you! I'll try that. DG 2017-02-20 12:42 GMT+01:00 Jakub Jelen <[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 >