summaryrefslogtreecommitdiff
path: root/ext/digest/sha2/sha2init.c
diff options
context:
space:
mode:
-rw-r--r--ext/digest/sha2/sha2init.c5
1 files changed, 4 insertions, 1 deletions
@@ -40,8 +40,11 @@ Init_sha2(void)
FOREACH_BITLEN(DECLARE_ALGO_CLASS)
mDigest = rb_digest_namespace();
- cDigest_Base = rb_path2class("Digest::Base");
#define DEFINE_ALGO_CLASS(bitlen) \
cDigest_SHA##bitlen = rb_define_class_under(mDigest, "SHA" #bitlen, cDigest_Base); \