Merge pull request #16500 from nextcloud/backport/16495/stable16
[stable16] Pass $configargs to openssl_pkey_export
This commit is contained in:
commit
93c5176f1e
|
@ -299,7 +299,9 @@ class PublicKeyTokenProvider implements IProvider {
|
||||||
$this->logOpensslError();
|
$this->logOpensslError();
|
||||||
}
|
}
|
||||||
|
|
||||||
openssl_pkey_export($res, $privateKey);
|
if (openssl_pkey_export($res, $privateKey, null, $config) === false) {
|
||||||
|
$this->logOpensslError();
|
||||||
|
}
|
||||||
|
|
||||||
// Extract the public key from $res to $pubKey
|
// Extract the public key from $res to $pubKey
|
||||||
$publicKey = openssl_pkey_get_details($res);
|
$publicKey = openssl_pkey_get_details($res);
|
||||||
|
|
Loading…
Reference in New Issue