Subject: | missing includes to build |
While trying to build Crypt-OpenSSL-RSA-0.22 from source on a
Debian/unstable system, I encountered the 2 following compilation
errors :
1. RSA.xs:67: erreur: 'MD5_DIGEST_LENGTH' undeclared (first use in this
function)
2. RSA.xs:73: erreur: 'RIPEMD160_DIGEST_LENGTH' undeclared (first use
in this function)
I had to add the 2 following includes at the top of the RSA.c source
file :
#include <openssl/md5.h>
#include <openssl/ripemd.h>
Evreything went right after this 2€cts patch
Hth,