Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5221 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21871 invoked by uid 1010); 5 Nov 2003 15:59:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21817 invoked from network); 5 Nov 2003 15:59:10 -0000 Received: from unknown (HELO hotmail.com) (65.54.247.141) by pb1.pair.com with SMTP; 5 Nov 2003 15:59:10 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 5 Nov 2003 07:59:09 -0800 Received: from 195.212.14.170 by by2fd.bay2.hotmail.msn.com with HTTP; Wed, 05 Nov 2003 15:59:09 GMT X-Originating-IP: [195.212.14.170] X-Originating-Email: [richardaburton@hotmail.com] To: internals@lists.php.net Bcc: Date: Wed, 05 Nov 2003 15:59:09 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 05 Nov 2003 15:59:09.0790 (UTC) FILETIME=[BFBF4FE0:01C3A3B5] Subject: Re: [PHP-DEV] [PATCH] openssl_pkcs7_encrypt to/from variable or file From: richardaburton@hotmail.com ("Richard Burton") Eric, Might I suggest that if you submit a patch for this, you add just one function and check for a "file://" prefix to determine if the user want to work with a file or variable? This is the way certificates are handled at present, and I used this method for my patch to try and be consistent with it. I'm a big fan of consistency, but I know others' views differ. I guess it's over to Wez for guidence, since it's his extension? Richard. >From: Eric COLINET >To: >CC: >Subject: Re: [PHP-DEV] [PATCH] openssl_pkcs7_encrypt to/from variable or >file >Date: Wed, 05 Nov 2003 12:57:20 +0100 > >Hi ! > >In the same series .. > >I have no patch to provide but i've written two functions related to >php_openssl: > openssl_pubkey_export > openssl_pubkey_export_to_file > >That simply allow the export of public keys that seems to be not possible >before. > >I there is no special reason for that i can submit them (they are small >modification of openssl_pkey_export & openssl_pkey_export_to_file) > > >Eric _________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband