diff options
Diffstat (limited to 'crypto/hmac')
-rw-r--r-- | crypto/hmac/hmac.h | 4 | ||||
-rw-r--r-- | crypto/hmac/hmactest.c | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h index 2712e011f9..2404e530ee 100644 --- a/crypto/hmac/hmac.h +++ b/crypto/hmac/hmac.h @@ -60,10 +60,6 @@ # include <openssl/opensslconf.h> -# ifdef OPENSSL_NO_HMAC -# error HMAC is disabled. -# endif - # include <openssl/evp.h> # define HMAC_MAX_MD_CBLOCK 128/* largest known is SHA512 */ diff --git a/crypto/hmac/hmactest.c b/crypto/hmac/hmactest.c index 492f5c5e81..de8d1c911c 100644 --- a/crypto/hmac/hmactest.c +++ b/crypto/hmac/hmactest.c @@ -62,13 +62,6 @@ #include "../e_os.h" -#ifdef OPENSSL_NO_HMAC -int main(int argc, char *argv[]) -{ - printf("No HMAC support\n"); - return (0); -} -#else # include <openssl/hmac.h> # ifndef OPENSSL_NO_MD5 # include <openssl/md5.h> @@ -163,4 +156,3 @@ static char *pt(unsigned char *md) return (buf); } # endif -#endif |