summaryrefslogtreecommitdiff
path: root/ext/digest/md5/md5init.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-11 02:09:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-11 02:09:55 +0000
commitb97ceb66e97f2a36e5602f74a593c61292cbd33b (patch)
treebd3085b343ba5abd5b40338007e880c5fde64176 /ext/digest/md5/md5init.c
parent935275bb5952b59b65c6a038a4b825aea95562ae (diff)
digest: CommonDigest
* ext/digest/digest_conf.rb (digest_conf): check for CommonDigest. * ext/digest/*/*cc.h: for Apple CommonCrypto/CommonDigest.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/md5/md5init.c')
-rw-r--r--ext/digest/md5/md5init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/digest/md5/md5init.c b/ext/digest/md5/md5init.c
index 93d01a2f41..db9298cbfc 100644
--- a/ext/digest/md5/md5init.c
+++ b/ext/digest/md5/md5init.c
@@ -4,6 +4,8 @@
#include "digest.h"
#if defined(MD5_USE__OPENSSL)
#include "md5ossl.h"
+#elif defined(MD5_USE_COMMONDIGEST)
+#include "md5cc.h"
#else
#include "md5.h"
#endif