diff options
Diffstat (limited to 'ext/digest/md5')
-rw-r--r-- | ext/digest/md5/md5init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/digest/md5/md5init.c b/ext/digest/md5/md5init.c index 0f5b9b3543..90ab707433 100644 --- a/ext/digest/md5/md5init.c +++ b/ext/digest/md5/md5init.c @@ -29,6 +29,6 @@ Init_md5() id_metadata = rb_intern("metadata"); - rb_cvar_declare(cDigest_MD5, id_metadata, - Data_Wrap_Struct(rb_cObject, 0, 0, &md5)); + rb_cvar_set(cDigest_MD5, id_metadata, + Data_Wrap_Struct(rb_cObject, 0, 0, &md5), Qtrue); } |