aboutsummaryrefslogtreecommitdiff
path: root/crypto/hmac/hmactest.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-27 01:14:46 +0000
committerUlf Möller <ulf@openssl.org>1999-04-27 01:14:46 +0000
commitf5d7a031a3c3e7b1700a67d6dc19daf3718ce6ee (patch)
treef5db72824de4586c35cef513ed48aff0d4b69a6b /crypto/hmac/hmactest.c
parentb64f825671861144e1c24f2a5498a95a083021cd (diff)
downloadopenssl-f5d7a031a3c3e7b1700a67d6dc19daf3718ce6ee.zip
openssl-f5d7a031a3c3e7b1700a67d6dc19daf3718ce6ee.tar.gz
openssl-f5d7a031a3c3e7b1700a67d6dc19daf3718ce6ee.tar.bz2
New Configure option no-<cipher> (rsa, idea, rc5, ...).
Diffstat (limited to 'crypto/hmac/hmactest.c')
-rw-r--r--crypto/hmac/hmactest.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/hmac/hmactest.c b/crypto/hmac/hmactest.c
index 0a3db68..15eb0c4 100644
--- a/crypto/hmac/hmactest.c
+++ b/crypto/hmac/hmactest.c
@@ -59,6 +59,14 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+
+#ifdef NO_HMAC
+int main(int argc, char *argv[])
+{
+ printf("No HMAC support\n");
+ return(0);
+}
+#else
#include <openssl/hmac.h>
struct test_st
@@ -137,3 +145,4 @@ static char *pt(unsigned char *md)
sprintf(&(buf[i*2]),"%02x",md[i]);
return(buf);
}
+#endif