Subject: | Fails to build with OpenSSL 1.1.0 |
After upgrading OpenSSL to 1.1.0b the build fails likes this:
gcc -c -DOPENSSL_LOAD_CONF -DHAVE_GETTIMEOFDAY -DHAVE_SYS_TIME_H -DHAVE_TIME -DHAVE_TIME_H -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DVERSION=\"0.17\" -DXS_VERSION=\"0.17\" -fPIC "-I/usr/lib64/perl5/CORE" SMIME.c
In file included from SMIME.xs:9:0:
SMIME.xs: In function 'B64_write_PKCS7':
SMIME.xs:63:26: error: 'PKCS7_F_B64_WRITE_PKCS7' undeclared (first use in this function)
PKCS7err(PKCS7_F_B64_WRITE_PKCS7,ERR_R_MALLOC_FAILURE);
^