diff options
Diffstat (limited to 'OpenSSL/PKCS12.html')
-rw-r--r-- | OpenSSL/PKCS12.html | 8 |
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, "PKCS12_parse"); ERR_pop_to_mark(); if (key) { - pkey = rb_protect((VALUE (*)(VALUE))ossl_pkey_new, (VALUE)key, &st); + pkey = rb_protect(ossl_pkey_new_i, (VALUE)key, &st); if (st) goto err; } if (x509) { - cert = rb_protect((VALUE (*)(VALUE))ossl_x509_new, (VALUE)x509, &st); + cert = rb_protect(ossl_x509_new_i, (VALUE)x509, &st); if (st) goto err; } if (x509s) { - ca = rb_protect((VALUE (*)(VALUE))ossl_x509_sk2ary, (VALUE)x509s, &st); + ca = rb_protect(ossl_x509_sk2ary_i, (VALUE)x509s, &st); if (st) goto err; } |