Just to let you know, craved does not compile with the latest libssl-dev version 1.1.0f-3, which is default on Debian 9.x.
I added jessie repository to sources.list, and installed version 1.0.1t-1+deb8u6.
Compiled without problems afterwards.
Yes, I experienced it with the latest libssl. Happens also with the latest Raspbian, need to use Raspbian Jessie.