diff options
Diffstat (limited to 'crypto/ripemd/rmdtest.c')
-rw-r--r-- | crypto/ripemd/rmdtest.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/crypto/ripemd/rmdtest.c b/crypto/ripemd/rmdtest.c index 11737e24a6..8a19f29999 100644 --- a/crypto/ripemd/rmdtest.c +++ b/crypto/ripemd/rmdtest.c @@ -59,6 +59,14 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> + +#ifdef NO_RIPEMD +int main(int argc, char *argv[]) +{ + printf("No ripemd support\n"); + return(0); +} +#else #include <openssl/ripemd.h> char *test[]={ @@ -122,4 +130,4 @@ static char *pt(unsigned char *md) sprintf(&(buf[i*2]),"%02x",md[i]); return(buf); } - +#endif |