Bug #71814 [Opn]: The function openssl_dh_compute_key(); d'ont have resource

From: Date: Mon, 14 Mar 2016 04:05:36 +0000
Subject: Bug #71814 [Opn]: The function openssl_dh_compute_key(); d'ont have resource
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199801@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71814&edit=1 ID: 71814 Updated by: requinix@php.net Reported by: marcosptf at yahoo dot com dot br Summary: The function openssl_dh_compute_key(); d'ont have resource Status: Open Type: Bug Package: OpenSSL related Operating System: Fedora 20 PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Try openssl_pkey_new(). Previous Comments: ------------------------------------------------------------------------ [2016-03-13 14:35:49] marcosptf at yahoo dot com dot br Description: ------------ Hello to everyone! we have a problem in openssl module. The function openssl_dh_compute_key ( string $pub_key , resource $dh_key );, need two parameters to work, a (string) public key and a (resource) dh_key. http://php.net/manual/en/function.openssl-dh-compute-key.php The problem is that the second parameter, is impossible to get, because no one php function return this type of resource, but i need write a php test to coverage this function. How we can do to resolve this problem? Thanks from @php-sp Brazil :-) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71814&edit=1

« previous php.bugs (#199801) next »