Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Adding config to openssl_pkey_export() #3946

Closed
wants to merge 1 commit into from

3 participants

@inferno001

Closed pull request by mistake (#3927)

openssl_pkey_export throws strange errors - Adding the optional config parameter (with config path) fixes the problem.

Screen Shot 2013-03-01 at 14 51 24

@ezimuel ezimuel was assigned
@weierophinney weierophinney closed this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3946'
Close #3946
Fixes #3927
a73c1e8
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3946'
Close #3946
Fixes #3927
770e50f
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3946' into develop
Forward port #3946
a6d8b1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 1, 2013
  1. @inferno001
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Crypt/PublicKey/RsaOptions.php
View
2  library/Zend/Crypt/PublicKey/RsaOptions.php
@@ -205,7 +205,7 @@ public function generateKeys(array $opensslConfig = array())
// export key
$passPhrase = $this->getPassPhrase();
- $result = openssl_pkey_export($resource, $private, $passPhrase);
+ $result = openssl_pkey_export($resource, $private, $passPhrase, $opensslConfig);
if (false === $result) {
throw new Exception\RuntimeException(
'Can not export key; openssl ' . openssl_error_string()
Something went wrong with that request. Please try again.