Skip to content

Commit

Permalink
remove BC breaking code
Browse files Browse the repository at this point in the history
set for 3.1.3 release
  • Loading branch information
robrichards committed Nov 20, 2024
1 parent 56361cc commit 2bdfd74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
xmlseclibs.php
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20, Nov 2024, 3.1.3
Bug Fixes:
- remove loadKey check due to BC issues

20, Nov 2024, 3.1.2
Improvements:
- Add tab to list of whitespace values to remove from cert. refs #252
Expand Down
3 changes: 0 additions & 3 deletions src/XMLSecurityKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,6 @@ public function loadKey($key, $isFile=false, $isCert = false)

case 'private':
$this->key = openssl_get_privatekey($this->key, $this->passphrase);
if ($this->key === false) {
throw new Exception('Unable to extract private key (invalid key or passphrase): ' . openssl_error_string());
}
break;

case'symmetric':
Expand Down
2 changes: 1 addition & 1 deletion xmlseclibs.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @author Robert Richards <rrichards@cdatazone.org>
* @copyright 2007-2024 Robert Richards <rrichards@cdatazone.org>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @version 3.1.2
* @version 3.1.3
*/

$xmlseclibs_srcdir = dirname(__FILE__) . '/src/';
Expand Down

0 comments on commit 2bdfd74

Please sign in to comment.