summaryrefslogtreecommitdiffstats
path: root/OpenSSL/PKCS12.html
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSSL/PKCS12.html')
-rw-r--r--OpenSSL/PKCS12.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSSL/PKCS12.html b/OpenSSL/PKCS12.html
index efa7c490..42df932b 100644
--- a/OpenSSL/PKCS12.html
+++ b/OpenSSL/PKCS12.html
@@ -164,7 +164,7 @@
<p>The not_before and not_after fields must be filled in.</p>
</li></ul>
</li><li>
-<p><em>ca</em> - An optional array of X509::Certificate’s.</p>
+<p><em>ca</em> - An optional array of <a href="X509/Certificate.html"><code>X509::Certificate</code></a>‘s.</p>
</li><li>
<p><em>key_pbe</em> - string</p>
</li><li>
@@ -289,15 +289,15 @@ ossl_pkcs12_initialize(int argc, VALUE *argv, VALUE self)
ossl_raise(ePKCS12Error, &quot;PKCS12_parse&quot;);
ERR_pop_to_mark();
if (key) {
- pkey = rb_protect((VALUE (*)(VALUE))ossl_pkey_new, (VALUE)key, &amp;st);
+ pkey = rb_protect(ossl_pkey_new_i, (VALUE)key, &amp;st);
if (st) goto err;
}
if (x509) {
- cert = rb_protect((VALUE (*)(VALUE))ossl_x509_new, (VALUE)x509, &amp;st);
+ cert = rb_protect(ossl_x509_new_i, (VALUE)x509, &amp;st);
if (st) goto err;
}
if (x509s) {
- ca = rb_protect((VALUE (*)(VALUE))ossl_x509_sk2ary, (VALUE)x509s, &amp;st);
+ ca = rb_protect(ossl_x509_sk2ary_i, (VALUE)x509s, &amp;st);
if (st) goto err;
}