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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 23:01:33 2025 UTC