aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_x509revoked.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-04-28 14:26:17 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-04-28 14:26:17 +0900
commitfa51e0c91ebb4df91adb40365de70d3c19c232aa (patch)
treed64cbb4aeef6c708e0d72e3e720b44de5c7d0396 /ext/openssl/ossl_x509revoked.c
parent380a5860be750d72ebf093aacbd09528f4259550 (diff)
parent2e4dad6a1debf50ba5bfe7696477d4f1aacbd3f7 (diff)
downloadruby-openssl-fa51e0c91ebb4df91adb40365de70d3c19c232aa.tar.gz
Merge branch 'topic/expand-ruby-missing-h'
* topic/expand-ruby-missing-h: Expand FPTR_TO_FD() macro Expand rb_define_copy_func() macro
Diffstat (limited to 'ext/openssl/ossl_x509revoked.c')
-rw-r--r--ext/openssl/ossl_x509revoked.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_x509revoked.c b/ext/openssl/ossl_x509revoked.c
index 7960ea34..5ac4a928 100644
--- a/ext/openssl/ossl_x509revoked.c
+++ b/ext/openssl/ossl_x509revoked.c
@@ -267,7 +267,7 @@ Init_ossl_x509revoked(void)
rb_define_alloc_func(cX509Rev, ossl_x509revoked_alloc);
rb_define_method(cX509Rev, "initialize", ossl_x509revoked_initialize, -1);
- rb_define_copy_func(cX509Rev, ossl_x509revoked_initialize_copy);
+ rb_define_method(cX509Rev, "initialize_copy", ossl_x509revoked_initialize_copy, 1);
rb_define_method(cX509Rev, "serial", ossl_x509revoked_get_serial, 0);
rb_define_method(cX509Rev, "serial=", ossl_x509revoked_set_serial, 1);