betz Sun Mar 30 09:35:24 2003 EDT
Modified files:
/phpdoc/en/reference/openssl/functions openssl-csr-sign.xml
openssl-pkcs7-encrypt.xml
openssl-pkcs7-sign.xml
Log:
methodparam correction
Index: phpdoc/en/reference/openssl/functions/openssl-csr-sign.xml
diff -u phpdoc/en/reference/openssl/functions/openssl-csr-sign.xml:1.7
phpdoc/en/reference/openssl/functions/openssl-csr-sign.xml:1.8
--- phpdoc/en/reference/openssl/functions/openssl-csr-sign.xml:1.7 Sat Mar 22
14:00:37 2003
+++ phpdoc/en/reference/openssl/functions/openssl-csr-sign.xml Sun Mar 30 09:35:24
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/openssl.xml, last change in rev 1.19 -->
<refentry id="function.openssl-csr-sign">
<refnamediv>
@@ -13,7 +13,7 @@
<methodparam><type>mixed</type><parameter>csr</parameter></methodparam>
<methodparam><type>mixed</type><parameter>cacert</parameter></methodparam>
<methodparam><type>mixed</type><parameter>priv_key</parameter></methodparam>
- <methodparam><type>long</type><parameter>days</parameter></methodparam>
+ <methodparam><type>int</type><parameter>days</parameter></methodparam>
</methodsynopsis>
<para>
<function>openssl_csr_sign</function> generates an x509 certificate
@@ -59,7 +59,8 @@
// Now display the generated certificate so that the user can
// copy and paste it into their local configuration (such as a file
// to hold the certificate for their SSL server)
-openssl_x509_export($usercert, $certout) and echo $certout;
+openssl_x509_export($usercert, $certout);
+echo $certout;
// Show any errors that occurred here
while (($e = openssl_error_string()) !== false) {
Index: phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml
diff -u phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.7
phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.8
--- phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.7 Sat Mar 22
14:00:37 2003
+++ phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml Sun Mar 30
09:35:24 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/openssl.xml, last change in rev 1.4 -->
<refentry id="function.openssl-pkcs7-encrypt">
<refnamediv>
@@ -14,7 +14,7 @@
<methodparam><type>string</type><parameter>outfile</parameter></methodparam>
<methodparam><type>mixed</type><parameter>recipcerts</parameter></methodparam>
<methodparam><type>array</type><parameter>headers</parameter></methodparam>
- <methodparam
choice="opt"><type>long</type><parameter>flags</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>
<function>openssl_pkcs7_encrypt</function> takes the contents of the
Index: phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml
diff -u phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml:1.4
phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml:1.5
--- phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml:1.4 Sat Mar 22
14:00:37 2003
+++ phpdoc/en/reference/openssl/functions/openssl-pkcs7-sign.xml Sun Mar 30
09:35:24 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/openssl.xml, last change in rev 1.4 -->
<refentry id="function.openssl-pkcs7-sign">
<refnamediv>
@@ -15,8 +15,8 @@
<methodparam><type>mixed</type><parameter>signcert</parameter></methodparam>
<methodparam><type>mixed</type><parameter>privkey</parameter></methodparam>
<methodparam><type>array</type><parameter>headers</parameter></methodparam>
- <methodparam
choice="opt"><type>long</type><parameter>flags</parameter></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>extracertsfilename</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>extracerts</parameter></methodparam>
</methodsynopsis>
<para>
<function>openssl_pkcs7_sign</function> takes the contents of the file
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php