Hide Forgot
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.4) Gecko/20010917 Description of problem: libcrypto.so does not define EVP_mdc2 although it is in the header file evp.h. I have both openssl-0.9.6-9.i386.rpm and openssl-devel-0.9.6-9.i386.rpm installed. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1)create foo.c : #include "openssl/evp.h" main() { EVP_mdc2(); } 2) gcc -o foo foo.c -L/usr/lib -lcrypto Actual Results: /tmp/ccQBIP0C.o: In function `main': /tmp/ccQBIP0C.o(.text+0x7): undefined reference to `EVP_mdc2' collect2: ld returned 1 exit status Expected Results: no link phase error. Additional info: 1)create foo.c : #include "openssl/evp.h" main() { EVP_md5(); } 2) gcc -o foo foo.c -L/usr/lib -lcrypto (this works)
The version of OpenSSL shipped with Red Hat has serveral patent-or-otherwise-encumbered code disabled. This includes MDC-2, IDEA, and RC5. (MDC-2 patent #4,908,861)
MDC-2 is no longer covered by patent (the patent has expired in 2002), see https://bugzilla.redhat.com/show_bug.cgi?id=538192.