I am trying to run a program that uses OpenSSL under Valgrind but OpenSSL does some funny stuff that results in a lot of "false positives" so after some searching around I discovered that I need to compile OpenSSL with the -DPURIFY option.
So I download the same OpenSSL version from the RedHat servers (openssl-1.0.0-10.el6.src.rpm) as the system is currently using (an old system). Then I try the following commands:
rpm2cpio openssl-1.0.0-10.el6.src.rpm | cpio -idmv tar -xvf openssl-1.0.0-usa.tar.bz2 cd openssl-1.0.0 ./config make
but the make throws an
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
I saw a lot of patch files when I extracted the src.rpm file, I suppose I need to manually apply those (how and in what order?) or am I doing something else wrong?
Goal: To compile this version (1.0.0-10.el6) of OpenSSL with -DPURIFY