diff options
Diffstat (limited to 'crypto/sha/sha1test.c')
-rw-r--r-- | crypto/sha/sha1test.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/sha/sha1test.c b/crypto/sha/sha1test.c index 9e4d3f178b..6a34a9ae13 100644 --- a/crypto/sha/sha1test.c +++ b/crypto/sha/sha1test.c @@ -59,6 +59,14 @@ #include <stdio.h> #include <string.h> #include <stdlib.h> + +#ifdef NO_SHA +int main(int argc, char *argv[]) +{ + printf("No SHA support\n"); + return(0); +} +#else #include <openssl/sha.h> #undef SHA_0 /* FIPS 180 */ @@ -145,3 +153,4 @@ static char *pt(unsigned char *md) sprintf(&(buf[i*2]),"%02x",md[i]); return(buf); } +#endif |