php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65175 openssl has resources
Submitted: 2013-07-01 14:37 UTC Modified: 2017-07-02 17:30 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: lynch@php.net Assigned: bukka (profile)
Status: Closed Package: OpenSSL related
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lynch@php.net
New email:
PHP Version: OS:

 

 [2013-07-01 14:37 UTC] lynch@php.net
Description:
------------
http://php.net/manual/en/function.openssl-pkey-new.php

returns a resource.


---
From manual page: http://www.php.net/openssl.resources
---
says there are no resources are defined

Test script:
---------------
$key_pair = openssl_pkey_new(array('digest_alg'=>'sha1', 'private_key_bits'=>1024, 'private_key_type'=>OPENSSL_KEYTYPE_RSA));

var_dump($key_pair);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-29 16:04 UTC] bukka@php.net
Automatic comment from SVN on behalf of bukka
Revision: http://svn.php.net/viewvc/?view=revision&revision=342623
Log: Fix bug #65175: openssl has resources
 [2017-07-02 17:30 UTC] bukka@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: bukka
 [2017-07-02 17:30 UTC] bukka@php.net
This has been fixed and a note about 3 used resources added.
 [2020-02-07 06:06 UTC] phpdocbot@php.net
Automatic comment on behalf of bukka
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f01c45244d2ab24abd72ac6416435a2ca1601b82
Log: Fix bug #65175: openssl has resources
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Mar 07 02:01:25 2021 UTC