diff options
-rw-r--r-- | ossl_cipher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ossl_cipher.c b/ossl_cipher.c index c77915a..b5452a8 100644 --- a/ossl_cipher.c +++ b/ossl_cipher.c @@ -380,7 +380,7 @@ Init_ossl_cipher(void) rb_define_method(cCipher, "initialize", ossl_cipher_initialize, 1); rb_define_copy_func(cCipher, ossl_cipher_copy); - rb_define_clone_func(cDigest, ossl_cipher_clone); + rb_define_clone_func(cCipher, ossl_cipher_clone); rb_define_method(cCipher, "reset", ossl_cipher_reset, 0); |