summaryrefslogtreecommitdiffstats
path: root/OpenSSL/PKey/DH.html
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-09-09 00:30:31 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-09-09 00:30:31 +0900
commit2fdd86693b4f9e4c28cc29194bbd648e7e22c23c (patch)
treeaa6517a6cfdb8c35b8247f02e4dd8c6a93995267 /OpenSSL/PKey/DH.html
parent9e36d3ce1163ed371fb88b5c4418b0647a17b296 (diff)
downloadruby-openssl-2fdd86693b4f9e4c28cc29194bbd648e7e22c23c.tar.gz
Sync with v2.0.0.beta.2-2-gc98322157e67
Diffstat (limited to 'OpenSSL/PKey/DH.html')
-rw-r--r--OpenSSL/PKey/DH.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/PKey/DH.html b/OpenSSL/PKey/DH.html
index 83e64b0e..00d92ed5 100644
--- a/OpenSSL/PKey/DH.html
+++ b/OpenSSL/PKey/DH.html
@@ -794,7 +794,7 @@ ossl_dh_to_public_key(VALUE self)
GetDH(self, orig_dh);
dh = DHparams_dup(orig_dh); /* err check perfomed by dh_instance */
- obj = dh_instance(CLASS_OF(self), dh);
+ obj = dh_instance(rb_obj_class(self), dh);
if (obj == Qfalse) {
DH_free(dh);
ossl_raise(eDHError, NULL);