1

x509.h and other cryptographic header files compilation error in linux

view story
linux-howto

http://stackoverflow.com – I am trying to compile my code in linux (Ubuntu), I have already compile and build it in VS2010. My code uses some cryptography headers like x509.h, evp.h, pkcs7.h, pkcs12.h, ... In windows, I have no problem and code is compiled successfully, but in Linux I've got bunch of compilation errors in these header files like: ./Header Files/evp.h:1241: error: ‘pmeth’ was not declared in this scope ./Header Files/evp.h:1242: error: ‘ctrl’ was not declared in this scope ./Header Files/evp.h:1242: error: ‘EVP_PKEY_CTX’ was not declared in this scope ./Header Files/evp.h:1242: error: ‘ct (HowTos)