From: busia at tiscali dot it Operating system: Redhat 7.0 PHP version: 4.3.2RC1 PHP Bug Type: Feature/Change Request Bug description: (openssl_pkcs7_verify) pem saved into variable
Is it possible to add an option into "openssl_pkcs7_verify" to save the store the certificate into a variable instead of into a file? I tried: --------------------------------------- ob_start(); openssl_pkcs7_verify("/home/busia/mail_firmata_mittente_cambiato", PKCS7_DETACHED, "php://stdout"); $pem=ob_get_contents(); ob_end_clean(); --------------------------------------- But I receive this warning: --------------------------------------- PHP Warning: openssl_pkcs7_verify() [<a href='http://www .php.net/function.openssl-pkcs7-verify'>function.openssl-pkcs7-verify</a>]: sign ature OK, but cannot open php://stdout for writing in /home/busia/prova2.php on line 5 --------------------------------------- Writing the file and the reding it seems a waste of resources. Thanks Andrea Busia -- Edit bug report at http://bugs.php.net/?id=22978&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22978&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22978&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22978&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22978&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22978&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22978&r=support Expected behavior: http://bugs.php.net/fix.php?id=22978&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22978&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22978&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22978&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22978&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22978&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22978&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22978&r=gnused