aboutsummaryrefslogtreecommitdiffstats
path: root/ossl_hmac.c
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2002-01-10 13:45:36 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2002-01-10 13:45:36 +0000
commitdc8f3147493a2ba249fea7557b1e0a371d7e2b0f (patch)
tree5997dfd7ba8277b36c4a9c1fc83a2241d9a25634 /ossl_hmac.c
parentc8c2b576e89e238a6aead38b3cc40a2d3f07f751 (diff)
downloadruby-openssl-history-dc8f3147493a2ba249fea7557b1e0a371d7e2b0f.tar.gz
* added OpenSSL-SNAPSHOT style NO_* (OPENSSL_NO_*)
* added AES cipher when compiled under OpenSSL-SNAPSHOT * added warnings if the OpenSSL is compiled without some feature * handle NO_RSA, NO_DSA in openssl.rb * incremented version in ossl_version.h
Diffstat (limited to 'ossl_hmac.c')
-rw-r--r--ossl_hmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ossl_hmac.c b/ossl_hmac.c
index caf89f0..4999e99 100644
--- a/ossl_hmac.c
+++ b/ossl_hmac.c
@@ -8,7 +8,7 @@
* This program is licenced under the same licence as Ruby.
* (See the file 'LICENCE'.)
*/
-#ifndef NO_HMAC
+#if !defined(NO_HMAC) && !defined(OPENSSL_NO_HMAC)
#include "ossl.h"
@@ -177,7 +177,7 @@ Init_hmac(VALUE module)
rb_define_alias(cHMAC, "to_str", "hexhmac");
}
-#else /* NO_HMAC is defined */
+#else /* NO_HMAC */
void
Init_hmac(VALUE module)