aboutsummaryrefslogtreecommitdiffstats
path: root/openssl_missing.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 /openssl_missing.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 'openssl_missing.c')
-rw-r--r--openssl_missing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl_missing.c b/openssl_missing.c
index 3fe4027..f538a4e 100644
--- a/openssl_missing.c
+++ b/openssl_missing.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 <openssl/hmac.h>
@@ -25,5 +25,5 @@ HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in)
return 1;
}
-#endif
+#endif /* NO_HMAC */