Have you looked at this?
http://marc.info/?l=mysql&m=103249377620375&w=2
It explains what you need to do:
a) Check to see if you have included openssl/evp.h header file.
b) If (a) has been checked and it is alright, then the problem could be
that the version of your OpenSSL libraries is wrong.
Regards,
Prem