alindeman               Fri Apr 26 16:44:48 2002 EDT

  Modified files:              
    /phpdoc/en/reference/openssl/functions      openssl-pkcs7-encrypt.xml 
  Log:
  Correcting some errors
    -my.pem -> nighthawk.pem
    -matching the attribute names with the ones in openssl.c
  
  
Index: phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml
diff -u phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.4 
phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.5
--- phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.4 Thu Apr 25 
19:14:43 2002
+++ phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml     Fri Apr 26 
+16:44:48 2002
@@ -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-encrypt">
    <refnamediv>
@@ -10,8 +10,8 @@
     <title>Description</title>
      <methodsynopsis>
       <type>bool</type><methodname>openssl_pkcs7_encrypt</methodname>
-      <methodparam><type>string</type><parameter>infilename</parameter></methodparam>
-      <methodparam><type>string</type><parameter>outfilename</parameter></methodparam>
+      <methodparam><type>string</type><parameter>infile</parameter></methodparam>
+      <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>
@@ -19,7 +19,7 @@
        &warn.experimental.func;
     <para>
      <function>openssl_pkcs7_encrypt</function> takes the contents of the
-     file named <parameter>infilename</parameter> and encrypts them using an RC2
+     file named <parameter>infile</parameter> and encrypts them using an RC2
      40-bit cipher so that they can only be read by the intended recipients
      specified by <parameter>recipcerts</parameter>, which is either a
      lone X.509 certificate, or an array of X.509 certificates.
@@ -52,7 +52,7 @@
 EOD;
 
 // load key
-$key = implode("", file("my.pem"));
+$key = implode("", file("nighthawk.pem"));
 
 // save message to file
 $fp = fopen("msg.txt", "w");


Reply via email to