summaryrefslogtreecommitdiffstats
path: root/OpenSSL/PKey/RSA.html
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSSL/PKey/RSA.html')
-rw-r--r--OpenSSL/PKey/RSA.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/PKey/RSA.html b/OpenSSL/PKey/RSA.html
index dec6e872..e167ce92 100644
--- a/OpenSSL/PKey/RSA.html
+++ b/OpenSSL/PKey/RSA.html
@@ -944,7 +944,7 @@ ossl_rsa_to_public_key(VALUE self)
GetPKeyRSA(self, pkey);
/* err check performed by rsa_instance */
rsa = RSAPublicKey_dup(EVP_PKEY_get0_RSA(pkey));
- obj = rsa_instance(CLASS_OF(self), rsa);
+ obj = rsa_instance(rb_obj_class(self), rsa);
if (obj == Qfalse) {
RSA_free(rsa);
ossl_raise(eRSAError, NULL);